]> git.sesse.net Git - mlt/commitdiff
allow %u in image sequence pattern containing begin value
authorDan Dennedy <dan@dennedy.org>
Tue, 6 Mar 2012 06:44:48 +0000 (22:44 -0800)
committerDan Dennedy <dan@dennedy.org>
Tue, 6 Mar 2012 06:44:48 +0000 (22:44 -0800)
src/modules/gtk2/producer_pixbuf.c
src/modules/qimage/producer_qimage.c

index ea75cadc50e0f250eef4dd3f48221ecee221da99..c76c41f1622e777dc2943bf612149ad563355df5 100644 (file)
@@ -202,7 +202,7 @@ static int load_sequence2( producer_pixbuf self, mlt_properties properties, cons
        {
                const char *end = ++start;
                while ( isdigit( *end ) ) end++;
-               if ( end > start && ( end[0] == 'd' || end[0] == 'i' ) )
+               if ( end > start && ( end[0] == 'd' || end[0] == 'i' || end[0] == 'u' ) )
                {
                        int n = end - start;
                        char *s = calloc( 1, n + 1 );
index 47cb82cf4491fb812794be4b4d4cc336950f67f8..02abbed2a4a3687d7ffb742379d07c6e575a8391 100644 (file)
@@ -149,7 +149,7 @@ static int load_sequence2( producer_qimage self, mlt_properties properties, cons
        {
                const char *end = ++start;
                while ( isdigit( *end ) ) end++;
-               if ( end > start && ( end[0] == 'd' || end[0] == 'i' ) )
+               if ( end > start && ( end[0] == 'd' || end[0] == 'i' || end[0] == 'u' ) )
                {
                        int n = end - start;
                        char *s = calloc( 1, n + 1 );