summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-02-16 22:22:39 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-02-16 22:22:39 +0100
commite8e3192a6e666487e56b4042beceac56b36c1b8c (patch)
treed11b295a1ba8af23de2b855ba45e1a5ddd844349
parent88bd4a8ada893b16d9c3e6f609fa84195ab036e3 (diff)
downloadgstreamer-plugins-bad-e8e3192a6e666487e56b4042beceac56b36c1b8c.tar.gz
assrender: If no codec data is set, still initialize the ass track
-rw-r--r--ext/assrender/gstassrender.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/assrender/gstassrender.c b/ext/assrender/gstassrender.c
index fde561020..9cfe9970d 100644
--- a/ext/assrender/gstassrender.c
+++ b/ext/assrender/gstassrender.c
@@ -852,6 +852,9 @@ gst_ass_render_setcaps_text (GstPad * pad, GstCaps * caps)
ret = TRUE;
} else if (!render->ass_track) {
render->ass_track = ass_new_track (render->ass_library);
+
+ render->track_init_ok = TRUE;
+
ret = TRUE;
}