]> git.sesse.net Git - mlt/commitdiff
Revert "Fix melt crash on many avformat producers active."
authorDan Dennedy <dan@dennedy.org>
Tue, 6 Sep 2011 21:07:00 +0000 (14:07 -0700)
committerDan Dennedy <dan@dennedy.org>
Tue, 6 Sep 2011 21:07:00 +0000 (14:07 -0700)
This reverts commit e22f54d31b741d017ffc1f9d1f4cc96651a25908.

Conflicts:

src/modules/melt/producer_melt.c

src/modules/melt/producer_melt.c

index 310bc14c0b1031f6e6d1f6654f6df767d23a59b9..69bcad8c0a1cdeb9993e56838bcae849232e61bf 100644 (file)
@@ -449,10 +449,6 @@ mlt_producer producer_melt_init( mlt_profile profile, mlt_service_type type, con
                }
        }
 
-       // Set the size of the producer_avformat cache to the number of tracks.
-       if ( mlt_multitrack_count( multitrack ) > mlt_service_cache_get_size( MLT_PLAYLIST_SERVICE( playlist ), "producer_avformat" ) )
-               mlt_service_cache_set_size( MLT_PLAYLIST_SERVICE( playlist ), "producer_avformat", mlt_multitrack_count( multitrack ) + 2 );
-
        // Connect last producer to playlist
        if ( producer != NULL && !mlt_producer_is_cut( producer ) )
                mlt_playlist_append( playlist, producer );