mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
launcher: Switch to fake{audio,video}sink
Simplifies the code a bit, though introducing runtime dependency on -bad. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/254>
This commit is contained in:
parent
a5a590ba17
commit
df2cb6104a
1 changed files with 2 additions and 5 deletions
|
@ -1007,13 +1007,10 @@ _create_pipeline (GESLauncher * self, const gchar * serialized_timeline)
|
|||
* our timeline in. */
|
||||
|
||||
if (opts->mute) {
|
||||
GstElement *sink = gst_element_factory_make ("fakesink", NULL);
|
||||
|
||||
g_object_set (sink, "sync", TRUE, NULL);
|
||||
GstElement *sink = gst_element_factory_make ("fakeaudiosink", NULL);
|
||||
ges_pipeline_preview_set_audio_sink (self->priv->pipeline, sink);
|
||||
|
||||
sink = gst_element_factory_make ("fakesink", NULL);
|
||||
g_object_set (sink, "sync", TRUE, NULL);
|
||||
sink = gst_element_factory_make ("fakevideosink", NULL);
|
||||
ges_pipeline_preview_set_video_sink (self->priv->pipeline, sink);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue