diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2008-03-02 18:43:15 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2008-03-02 18:43:15 +0000 |
commit | f61c20f1d2c3c4589958729b61300d4d1cad5d29 (patch) | |
tree | 8098f920b683172ed6162598531f99e58ad1fec1 | |
parent | d85688b8a2202149536001786e5bd32a9a89fc8f (diff) |
gst/playback/gstplaybin2.c: Make the function signature of the _get_*_tags() functions match the signature of the vfu...
Original commit message from CVS:
Patch by: José Alburquerque <jaalburqu svn gnome org>
* gst/playback/gstplaybin2.c:
Make the function signature of the _get_*_tags() functions match
the signature of the vfuncs they implement, ie. return a
GstTagList rather than a GstStructure, which is more correct,
even if one is typedef'ed to the other (#518940).
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | gst/playback/gstplaybin2.c | 6 |
2 files changed, 13 insertions, 3 deletions
@@ -1,5 +1,15 @@ 2008-03-02 Tim-Philipp Müller <tim at centricular dot net> + Patch by: José Alburquerque <jaalburqu svn gnome org> + + * gst/playback/gstplaybin2.c: + Make the function signature of the _get_*_tags() functions match + the signature of the vfuncs they implement, ie. return a + GstTagList rather than a GstStructure, which is more correct, + even if one is typedef'ed to the other (#518940). + +2008-03-02 Tim-Philipp Müller <tim at centricular dot net> + * gst-libs/gst/rtsp/gstrtspconnection.c: Don't include unix headers unconditionally (fixes #518037). diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 2b964af0..008b5810 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -430,11 +430,11 @@ static GstStateChangeReturn gst_play_bin_change_state (GstElement * element, static void gst_play_bin_handle_message (GstBin * bin, GstMessage * message); -static GstStructure *gst_play_bin_get_video_tags (GstPlayBin * playbin, +static GstTagList *gst_play_bin_get_video_tags (GstPlayBin * playbin, gint stream); -static GstStructure *gst_play_bin_get_audio_tags (GstPlayBin * playbin, +static GstTagList *gst_play_bin_get_audio_tags (GstPlayBin * playbin, gint stream); -static GstStructure *gst_play_bin_get_text_tags (GstPlayBin * playbin, +static GstTagList *gst_play_bin_get_text_tags (GstPlayBin * playbin, gint stream); static GstBuffer *gst_play_bin_convert_frame (GstPlayBin * playbin, |