mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
codecparsers: remove h263 gob parsing, since there is no gob immediate after svh
This commit is contained in:
parent
bb52df5e24
commit
5676ff5bf4
1 changed files with 0 additions and 21 deletions
|
@ -1491,7 +1491,6 @@ gst_mpeg4_parse_video_plane_short_header (GstMpeg4VideoPlaneShortHdr *
|
|||
shorthdr, const guint8 * data, gsize size)
|
||||
{
|
||||
guint8 zero_bits;
|
||||
guint32 gob_resync;
|
||||
|
||||
GstBitReader br = GST_BIT_READER_INIT (data, size);
|
||||
|
||||
|
@ -1578,26 +1577,6 @@ gst_mpeg4_parse_video_plane_short_header (GstMpeg4VideoPlaneShortHdr *
|
|||
|
||||
} while (shorthdr->pei == 1);
|
||||
|
||||
if (!gst_bit_reader_peek_bits_uint32 (&br, &gob_resync, 17))
|
||||
goto failed;
|
||||
|
||||
/* gob_layer() */
|
||||
|
||||
/* Setting default values */
|
||||
shorthdr->gob_header_empty = 1;
|
||||
shorthdr->gob_number = 0;
|
||||
shorthdr->gob_frame_id = 0;
|
||||
shorthdr->quant_scale = 0;
|
||||
|
||||
if (gob_resync == 0x01) {
|
||||
shorthdr->gob_header_empty = 0;
|
||||
|
||||
gst_bit_reader_skip_unchecked (&br, 17);
|
||||
READ_UINT8 (&br, shorthdr->gob_number, 5);
|
||||
READ_UINT8 (&br, shorthdr->gob_frame_id, 2);
|
||||
READ_UINT8 (&br, shorthdr->quant_scale, 5);
|
||||
}
|
||||
|
||||
shorthdr->size = gst_bit_reader_get_pos (&br);
|
||||
|
||||
return GST_MPEG4_PARSER_OK;
|
||||
|
|
Loading…
Reference in a new issue