From f61c20f1d2c3c4589958729b61300d4d1cad5d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Alburquerque?= Date: Sun, 2 Mar 2008 18:43:15 +0000 Subject: [PATCH] gst/playback/gstplaybin2.c: Make the function signature of the _get_*_tags() functions match the signature of the vfu... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message from CVS: Patch by: José Alburquerque * 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). --- ChangeLog | 10 ++++++++++ gst/playback/gstplaybin2.c | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6c3324ff54..578b3e69ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-03-02 Tim-Philipp Müller + + Patch by: José Alburquerque + + * 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 * gst-libs/gst/rtsp/gstrtspconnection.c: diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 2b964af0db..008b5810de 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,