mpegvideoparse: Avoid double scanning of pictures
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 29 Apr 2011 11:33:43 +0000 (13:33 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 6 Jun 2011 10:44:58 +0000 (12:44 +0200)
commit813ac7bb2df7252767d27087c8fa6d17e168fdd9
tree3e78a8d618112a413968be8d759da19a24e785de
parentbe60b7d0de1166622e0f77245b938107ca9b212f
mpegvideoparse: Avoid double scanning of pictures

The incoming data has already been scanned in mpeg_packetizer_add_buf.
We can therefore stop scanning for picture data as soon as we've parsed
the header. Makes mpegvideoparse 2 times faster.

https://bugzilla.gnome.org/show_bug.cgi?id=648933
gst/mpegvideoparse/mpegvideoparse.c