mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
basesink: use the slightly more correct take_sample for last-sample
gst_value_take_buffer() and gst_value_take_sample() both resolve to g_value_take_boxed(). Use the method with the correct name if we ever change that.
This commit is contained in:
parent
f9e5178dd1
commit
8bc0a6c562
1 changed files with 1 additions and 1 deletions
|
@ -1380,7 +1380,7 @@ gst_base_sink_get_property (GObject * object, guint prop_id, GValue * value,
|
|||
g_value_set_int64 (value, gst_base_sink_get_ts_offset (sink));
|
||||
break;
|
||||
case PROP_LAST_SAMPLE:
|
||||
gst_value_take_buffer (value, gst_base_sink_get_last_sample (sink));
|
||||
gst_value_take_sample (value, gst_base_sink_get_last_sample (sink));
|
||||
break;
|
||||
case PROP_ENABLE_LAST_SAMPLE:
|
||||
g_value_set_boolean (value, gst_base_sink_is_last_sample_enabled (sink));
|
||||
|
|
Loading…
Reference in a new issue