[vlc-commits] jpeg: encoder: set pts and dts
    Tristan Matthews 
    git at videolan.org
       
    Tue Mar 18 16:59:11 CET 2014
    
    
  
vlc | branch: master | Tristan Matthews <tristan.matthews at savoirfairelinux.com> | Tue Mar 18 11:58:13 2014 -0400| [c9699d8f5a5c793bb5157ca89ad206e8f5faae3c] | committer: Tristan Matthews
jpeg: encoder: set pts and dts
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9699d8f5a5c793bb5157ca89ad206e8f5faae3c
---
 modules/codec/jpeg.c |    2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/codec/jpeg.c b/modules/codec/jpeg.c
index 5ad8c64..2f31052 100644
--- a/modules/codec/jpeg.c
+++ b/modules/codec/jpeg.c
@@ -405,6 +405,8 @@ static block_t *EncodeBlock(encoder_t *p_enc, picture_t *p_pic)
     }
     free(p_row_pointers);
 
+    p_block->i_dts = p_block->i_pts = p_pic->date;
+
     return p_block;
 
 error:
    
    
More information about the vlc-commits
mailing list