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.
This commit is contained in:
parent
2271ec928f
commit
ace9335ae3
@ -1,3 +1,12 @@
|
|||||||
|
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>
|
2007-07-23 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/playback/gsturidecodebin.c:
|
* 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);
|
group = get_active_group (play_base_bin);
|
||||||
if (group) {
|
if (group) {
|
||||||
array = g_value_array_copy (group->streaminfo_value_array);
|
array = g_value_array_copy (group->streaminfo_value_array);
|
||||||
|
} else {
|
||||||
|
array = g_value_array_new (0);
|
||||||
}
|
}
|
||||||
GROUP_UNLOCK (play_base_bin);
|
GROUP_UNLOCK (play_base_bin);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user