[vlc-devel] [PATCH] Fix glitching at start of stream playback

Ilkka Ollakka ileoo at videolan.org
Fri Mar 21 09:13:19 CET 2014


On Tue, Mar 18, 2014 at 01:28:37PM +0000, Alex Woods wrote:
> This patch fixes a problem that occurs at the start of playback of MPEG2
> streams.  The symptom is that an initial good frame will display and
> then the video appears to skip back a frame or two and some
> macroblocking is observed. The stream then plays correctly. This is
> really obvious when switching between SAPed multicast streams, where
> you're jumping right in to a lot of movement and probably not starting
> with an I frame.

> The issue appears to be some code introduced way back in 2004 (commit
> eaefb8508dba22fb04193241347a072caac34cf1) which resubmits data to the
> video codec. The commit notes suggest it was to avoid dropping the first
> I frame, but I see no obviously lost I frames after removing the code
> with my test samples. Presumably this was a work-around for a libavcodec
> issue that is no longer required.

> Therefore, this patch basically just reverts the 2004 commit in its
> current form.

Merged, thanks.

-- 
Ilkka Ollakka
God created a few perfect heads.  The rest he covered with hair.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140321/38fd9c1d/attachment.sig>


More information about the vlc-devel mailing list