diff options
author | Philippe Normand <philn@igalia.com> | 2016-11-21 14:59:32 +0100 |
---|---|---|
committer | Thiago Santos <thiagossantos@gmail.com> | 2016-12-07 11:08:11 -0300 |
commit | 714dc5e508a1e7a05353feb0cefb971a1f938087 (patch) | |
tree | c08ec9235e9fb2158155a7361c0ff5eeed221936 | |
parent | a2f4b062bc326de48be6c6392bd4bbae5074ab6a (diff) |
uridecodebin: ask the source element to post its context
-rw-r--r-- | gst/playback/gsturidecodebin.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index d5c03078b..72d28d4a8 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -1386,6 +1386,13 @@ gen_source_element (GstURIDecodeBin * decoder) "setting subtitle-encoding=%s to source element", decoder->encoding); g_object_set (source, "subtitle-encoding", decoder->encoding, NULL); } + + pspec = g_object_class_find_property (source_class, "post-http-context"); + if (pspec != NULL && G_PARAM_SPEC_VALUE_TYPE (pspec) == G_TYPE_BOOLEAN) { + GST_DEBUG_OBJECT (decoder, + "setting post-http-context=TRUE to source element"); + g_object_set (source, "post-http-context", TRUE, NULL); + } return source; /* ERRORS */ |