mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
api: Always start unmuted
This commit is contained in:
3
lib/gst/clapper/gstclapper.c
vendored
3
lib/gst/clapper/gstclapper.c
vendored
@@ -3123,6 +3123,9 @@ gst_clapper_main (gpointer data)
|
|||||||
|
|
||||||
gst_object_ref_sink (self->playbin);
|
gst_object_ref_sink (self->playbin);
|
||||||
|
|
||||||
|
/* Do not start muted and make it sync with last_mute value */
|
||||||
|
g_object_set (self->playbin, "mute", FALSE, NULL);
|
||||||
|
|
||||||
if (self->video_renderer) {
|
if (self->video_renderer) {
|
||||||
GstElement *video_sink =
|
GstElement *video_sink =
|
||||||
gst_clapper_video_renderer_create_video_sink (self->video_renderer, self);
|
gst_clapper_video_renderer_create_video_sink (self->video_renderer, self);
|
||||||
|
@@ -90,8 +90,6 @@ class ClapperPlayer extends GstClapper.Clapper
|
|||||||
|
|
||||||
set_initial_config()
|
set_initial_config()
|
||||||
{
|
{
|
||||||
this.set_mute(false);
|
|
||||||
|
|
||||||
/* FIXME: change into option in preferences */
|
/* FIXME: change into option in preferences */
|
||||||
const pipeline = this.get_pipeline();
|
const pipeline = this.get_pipeline();
|
||||||
pipeline.ring_buffer_max_size = 8 * 1024 * 1024;
|
pipeline.ring_buffer_max_size = 8 * 1024 * 1024;
|
||||||
|
Reference in New Issue
Block a user