-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
the attached patch adds support for the frei0r string parameter.
There currently is no filter using this, but I plan to work on one.

regards Till
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAky6yC0ACgkQzwEyz7QP6nTrPwCgs2oOpjUxbaKWFXwM2rAuLckl
KUUAoLKENZ0PZ/8eo1c+bjQ+D9C0rZy3
=JiGI
-----END PGP SIGNATURE-----
>From d4179f09c0e1269d144b8ebd454404891942b785 Mon Sep 17 00:00:00 2001
From: Till Theato <[email protected]>
Date: Sun, 17 Oct 2010 11:44:06 +0200
Subject: [PATCH] Add support for the frei0r string parameter.

---
 src/framework/mlt_tokeniser.c      |    2 +-
 src/modules/frei0r/frei0r_helper.c |    5 +++++
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/framework/mlt_tokeniser.c b/src/framework/mlt_tokeniser.c
index 1fa28b0..3db3e2b 100644
--- a/src/framework/mlt_tokeniser.c
+++ b/src/framework/mlt_tokeniser.c
@@ -119,7 +119,7 @@ int mlt_tokeniser_parse_new( mlt_tokeniser tokeniser, char *string, const char *
 		}
 		else
 		{
-			index += strlen( delimiter );
+			index += delimiter_size;
 		}
 	}
 
diff --git a/src/modules/frei0r/frei0r_helper.c b/src/modules/frei0r/frei0r_helper.c
index 39040d9..a28acf6 100644
--- a/src/modules/frei0r/frei0r_helper.c
+++ b/src/modules/frei0r/frei0r_helper.c
@@ -90,6 +90,11 @@ int process_frei0r_item( mlt_service_type type, double position, mlt_properties
 						f0r_set_param_value(inst, &color, i);
 						break;
 					}
+                                        case F0R_PARAM_STRING:
+                                        {
+                                                f0r_set_param_value(inst, mlt_properties_get(prop, pinfo.name), i);
+                                                break;
+                                        }
 				}
 			}
 		}
-- 
1.7.3.1

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to