From ea00545b437b5f10272e12e027326a978d87a835 Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Thu, 5 Aug 2004 07:55:55 +0000 Subject: [PATCH] Pipe workaround git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@352 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/avformat/producer_avformat.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/modules/avformat/producer_avformat.c b/src/modules/avformat/producer_avformat.c index 6e2a0fd..75f4ead 100644 --- a/src/modules/avformat/producer_avformat.c +++ b/src/modules/avformat/producer_avformat.c @@ -437,7 +437,8 @@ static int producer_get_image( mlt_frame frame, uint8_t **buffer, mlt_image_form // Duplicate the last image if necessary if ( mlt_properties_get_data( properties, "current_image", NULL ) != NULL && - ( paused || mlt_properties_get_double( properties, "current_time" ) >= real_timecode ) ) + ( paused || mlt_properties_get_double( properties, "current_time" ) >= real_timecode ) && + strcmp( mlt_properties_get( properties, "resource" ), "pipe:" ) ) { // Get current image and size int size = 0; -- 1.7.4.4