mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mpegvideoparse:Correct the skipping of vbv_delay in picture header and some typo fixes.
https://bugzilla.gnome.org/show_bug.cgi?id=663309
This commit is contained in:
parent
61cc352902
commit
f509960fea
2 changed files with 4 additions and 4 deletions
|
@ -681,8 +681,8 @@ gst_mpeg_video_parse_picture_header (GstMpegVideoPictureHdr * hdr,
|
||||||
if (hdr->pic_type == 0 || hdr->pic_type > 4)
|
if (hdr->pic_type == 0 || hdr->pic_type > 4)
|
||||||
goto failed; /* Corrupted picture packet */
|
goto failed; /* Corrupted picture packet */
|
||||||
|
|
||||||
/* skype VBV delay */
|
/* skip VBV delay */
|
||||||
if (!gst_bit_reader_skip (&br, 8))
|
if (!gst_bit_reader_skip (&br, 16))
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
||||||
if (hdr->pic_type == GST_MPEG_VIDEO_PICTURE_TYPE_P
|
if (hdr->pic_type == GST_MPEG_VIDEO_PICTURE_TYPE_P
|
||||||
|
|
|
@ -38,7 +38,7 @@ G_BEGIN_DECLS
|
||||||
/**
|
/**
|
||||||
* GstMpegVideoPacketTypeCode:
|
* GstMpegVideoPacketTypeCode:
|
||||||
* @GST_MPEG_VIDEO_PACKET_PICTURE: Picture packet starting code
|
* @GST_MPEG_VIDEO_PACKET_PICTURE: Picture packet starting code
|
||||||
* @GST_MPEG_VIDEO_PACKET_SLICE_MIN: Picture packet starting code
|
* @GST_MPEG_VIDEO_PACKET_SLICE_MIN: Slice min packet starting code
|
||||||
* @GST_MPEG_VIDEO_PACKET_SLICE_MAX: Slice max packet starting code
|
* @GST_MPEG_VIDEO_PACKET_SLICE_MAX: Slice max packet starting code
|
||||||
* @GST_MPEG_VIDEO_PACKET_USER_DATA: User data packet starting code
|
* @GST_MPEG_VIDEO_PACKET_USER_DATA: User data packet starting code
|
||||||
* @GST_MPEG_VIDEO_PACKET_SEQUENCE : Sequence packet starting code
|
* @GST_MPEG_VIDEO_PACKET_SEQUENCE : Sequence packet starting code
|
||||||
|
@ -186,7 +186,7 @@ typedef struct _GstMpegVideoTypeOffsetSize GstMpegVideoTypeOffsetSize;
|
||||||
* @width: Width of each frame
|
* @width: Width of each frame
|
||||||
* @height: Height of each frame
|
* @height: Height of each frame
|
||||||
* @par_w: Calculated Pixel Aspect Ratio width
|
* @par_w: Calculated Pixel Aspect Ratio width
|
||||||
* @par_h: Pixel Aspect Ratio height
|
* @par_h: Calculated Pixel Aspect Ratio height
|
||||||
* @fps_n: Calculated Framrate nominator
|
* @fps_n: Calculated Framrate nominator
|
||||||
* @fps_d: Calculated Framerate denominator
|
* @fps_d: Calculated Framerate denominator
|
||||||
* @bitrate_value: Value of the bitrate as is in the stream (400bps unit)
|
* @bitrate_value: Value of the bitrate as is in the stream (400bps unit)
|
||||||
|
|
Loading…
Reference in a new issue