fix for avformat seek < gop; fix for avformat consumer qscale; additional avformat...
[melted] / src / modules / avformat / producer_avformat.c
index 4f83e41..ef611af 100644 (file)
@@ -466,7 +466,7 @@ static int producer_get_image( mlt_frame frame, uint8_t **buffer, mlt_image_form
 
                                if ( got_picture )
                                {
-                                       if ( pkt.pts != AV_NOPTS_VALUE && pkt.pts != 0  )
+                                       if ( pkt.pts != AV_NOPTS_VALUE )
                                                current_time = ( double )pkt.pts / 1000000.0;
                                        else
                                                current_time = real_timecode;