# HG changeset patch # User michael # Date 1266794571 0 # Node ID af94d2ee8831a9ab82a6e95856a8ab504df404b8 # Parent 5401fc24516785e06a0ee10f02fd18e490297544 Fix timestamp association for mpeg2 field pictures. Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob diff -r 5401fc245167 -r af94d2ee8831 mpeg12.c --- a/mpeg12.c Sun Feb 21 21:48:40 2010 +0000 +++ b/mpeg12.c Sun Feb 21 23:22:51 2010 +0000 @@ -2204,7 +2204,7 @@ return i-3; } } - if(s && state == PICTURE_START_CODE){ + if(pc->frame_start_found == 0 && s && state == PICTURE_START_CODE){ ff_fetch_timestamp(s, i-3, 1); } }