]> git.sesse.net Git - vlc/commitdiff
* Also pass along the USER DATA of mpeg4
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 24 Aug 2006 01:20:43 +0000 (01:20 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 24 Aug 2006 01:20:43 +0000 (01:20 +0000)
  This should help identify the producing encoder and fix some issues with codec specific problems

modules/packetizer/mpeg4video.c

index fdffce8b2ca28ce831e6eb5ce46adb41d04ee441..453e7b63e473b379cea4640e219a98a2e4706143 100644 (file)
@@ -334,8 +334,8 @@ static block_t *ParseMPEGBlock( decoder_t *p_dec, block_t *p_frag )
     decoder_sys_t *p_sys = p_dec->p_sys;
     block_t *p_pic = NULL;
 
-    if( p_frag->p_buffer[3] == 0xB0 || p_frag->p_buffer[3] == 0xB1 )
-    {
+    if( p_frag->p_buffer[3] == 0xB0 || p_frag->p_buffer[3] == 0xB1 || p_frag->p_buffer[3] == 0xB2 )
+    {   /* VOS and USERDATA */
 #if 0
         /* Remove VOS start/end code from the original stream */
         block_Release( p_frag );