mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
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
2 changed files with 11 additions and 0 deletions
|
@ -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>
|
||||
|
||||
* 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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue