Commit ace9335a authored by Dan Williams's avatar Dan Williams Committed by Wim Taymans

gst/playback/gstplaybasebin.c: Don't return NULL when querying the stream info...

gst/playback/gstplaybasebin.c: Don't return NULL when querying the stream info value array but instead return an empt...

Original commit message from CVS:
Patch by: Dan Williams <dcbw at redhat dot com>
* gst/playback/gstplaybasebin.c:
(gst_play_base_bin_get_streaminfo_value_array):
Don't return NULL when querying the stream info value array but instead
return an empty array. Fixes #459204.
parent 2271ec92
2007-07-23 Wim Taymans <wim.taymans@gmail.com>
Patch by: Dan Williams <dcbw at redhat dot com>
* gst/playback/gstplaybasebin.c:
(gst_play_base_bin_get_streaminfo_value_array):
Don't return NULL when querying the stream info value array but instead
return an empty array. Fixes #459204.
2007-07-23 Tim-Philipp Müller <tim at centricular dot net>
* gst/playback/gsturidecodebin.c:
......@@ -2650,6 +2650,8 @@ gst_play_base_bin_get_streaminfo_value_array (GstPlayBaseBin * play_base_bin)
group = get_active_group (play_base_bin);
if (group) {
array = g_value_array_copy (group->streaminfo_value_array);
} else {
array = g_value_array_new (0);
}
GROUP_UNLOCK (play_base_bin);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment