]> git.sesse.net Git - mlt/commitdiff
SDL must not close X11 while VDPAU is still using it.
authorDan Dennedy <dan@dennedy.org>
Sun, 29 Nov 2009 01:10:02 +0000 (17:10 -0800)
committerDan Dennedy <dan@dennedy.org>
Fri, 11 Dec 2009 04:37:56 +0000 (20:37 -0800)
src/melt/melt.c

index 901dd1fa48a6b157fb02667cccd0e59bde630b29..c26d7b76259980ec590e8f4b0657c6e46de4df48 100644 (file)
@@ -560,14 +560,14 @@ query_all:
                basename( argv[0] ) );
        }
 
-       // Close the consumer
-       if ( consumer != NULL )
-               mlt_consumer_close( consumer );
-
        // Close the producer
        if ( melt != NULL )
                mlt_producer_close( melt );
 
+       // Close the consumer
+       if ( consumer != NULL )
+               mlt_consumer_close( consumer );
+
        // Close the factory
        mlt_profile_close( profile );