Skip to content

Commit

Permalink
Make xml non-seekable only if explicitly set.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Oct 15, 2013
1 parent fac9c17 commit 7833e33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/xml/producer_xml.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,8 @@ static void on_end_producer( deserialise_context context, const xmlChar *name )
// Track this producer
track_service( context->destructors, producer, (mlt_destructor) mlt_producer_close );
mlt_properties_set_lcnumeric( MLT_SERVICE_PROPERTIES( producer ), context->lc_numeric );
context->seekable &= mlt_properties_get_int( MLT_SERVICE_PROPERTIES( producer ), "seekable" );
if ( mlt_properties_get( MLT_SERVICE_PROPERTIES( producer ), "seekable" ) )
context->seekable &= mlt_properties_get_int( MLT_SERVICE_PROPERTIES( producer ), "seekable" );

// Propagate the properties
qualify_property( context, properties, "resource" );
Expand Down

0 comments on commit 7833e33

Please sign in to comment.