From ca357f1345de705db6e8050e585b9e922e8c08bc Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 30 Apr 2003 20:19:20 +0000 Subject: make sure bad_frame=0 even if decoder forget about it CVS patchset: 4730 CVS date: 2003/04/30 20:19:20 --- src/xine-engine/video_out.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index 92dc8bbfb..55d2130a0 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.154 2003/04/28 23:52:27 miguelfreitas Exp $ + * $Id: video_out.c,v 1.155 2003/04/30 20:19:20 miguelfreitas Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -281,6 +281,7 @@ static vo_frame_t *vo_get_frame (xine_video_port_t *this_gen, img->ratio = ratio; img->format = format; img->copy_called = 0; + img->bad_frame = 0; extra_info_reset ( img->extra_info ); /* let driver ensure this image has the right format */ -- cgit v1.2.3