mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
gst/playback/gstplaybin.c (gst_play_bin_set_property)
Original commit message from CVS: * gst/playback/gstplaybin.c (gst_play_bin_set_property) (gst_play_bin_get_property): Impl.
This commit is contained in:
parent
38b4dce1fc
commit
94a5340c95
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-07-13 Johan Dahlin <johan@gnome.org>
|
||||
|
||||
* gst/playback/gstplaybin.c (gst_play_bin_set_property)
|
||||
(gst_play_bin_get_property): Impl.
|
||||
|
||||
2004-07-13 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_seek_before):
|
||||
|
|
|
@ -212,10 +212,13 @@ gst_play_bin_set_property (GObject * object, guint prop_id,
|
|||
|
||||
switch (prop_id) {
|
||||
case ARG_VIDEO_SINK:
|
||||
play_bin->video_sink = g_value_get_object (value);
|
||||
break;
|
||||
case ARG_AUDIO_SINK:
|
||||
play_bin->audio_sink = g_value_get_object (value);
|
||||
break;
|
||||
case ARG_VIS_PLUGIN:
|
||||
play_bin->visualisation = g_value_get_object (value);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
@ -235,10 +238,13 @@ gst_play_bin_get_property (GObject * object, guint prop_id, GValue * value,
|
|||
|
||||
switch (prop_id) {
|
||||
case ARG_VIDEO_SINK:
|
||||
g_value_set_object (value, play_bin->video_sink);
|
||||
break;
|
||||
case ARG_AUDIO_SINK:
|
||||
g_value_set_object (value, play_bin->audio_sink);
|
||||
break;
|
||||
case ARG_VIS_PLUGIN:
|
||||
g_value_set_object (value, play_bin->visualisation);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
|
Loading…
Reference in a new issue