From 7fd82b9f50957e84085f282b0356c6eb0bac60c0 Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Thu, 21 Jul 2005 22:06:54 +0000 Subject: [PATCH] - Remove warnings git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@776 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_playlist.c | 2 +- src/framework/mlt_service.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/framework/mlt_playlist.c b/src/framework/mlt_playlist.c index ddb84a3..dac8c6d 100644 --- a/src/framework/mlt_playlist.c +++ b/src/framework/mlt_playlist.c @@ -1462,7 +1462,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i mlt_properties_set_int( MLT_FRAME_PROPERTIES( *frame ), "fx_cut", 1 ); mlt_frame_push_service( *frame, NULL ); mlt_frame_push_audio( *frame, NULL ); - mlt_service_apply_filters( parent, *frame, 0 ); + mlt_service_apply_filters( MLT_PRODUCER_SERVICE( parent ), *frame, 0 ); mlt_service_apply_filters( real, *frame, 0 ); mlt_deque_pop_front( MLT_FRAME_IMAGE_STACK( *frame ) ); mlt_deque_pop_front( MLT_FRAME_AUDIO_STACK( *frame ) ); diff --git a/src/framework/mlt_service.c b/src/framework/mlt_service.c index 75e598c..d120d28 100644 --- a/src/framework/mlt_service.c +++ b/src/framework/mlt_service.c @@ -339,7 +339,7 @@ void mlt_service_apply_filters( mlt_service this, mlt_frame frame, int index ) mlt_position in = mlt_filter_get_in( base->filters[ i ] ); mlt_position out = mlt_filter_get_out( base->filters[ i ] ); int disable = mlt_properties_get_int( MLT_FILTER_PROPERTIES( base->filters[ i ] ), "disable" ); - if ( !disable && ( in == 0 && out == 0 ) || ( position >= in && ( position <= out || out == 0 ) ) ) + if ( !disable && ( ( in == 0 && out == 0 ) || ( position >= in && ( position <= out || out == 0 ) ) ) ) { mlt_properties_set_position( frame_properties, "in", in == 0 ? this_in : in ); mlt_properties_set_position( frame_properties, "out", out == 0 ? this_out : out ); -- 1.7.4.4