pulsesink: Revise condition to set mute in the initial stage 83/266883/1 accepted/tizen/unified/20211123.020006 submit/tizen/20211122.082556
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 22 Nov 2021 04:49:39 +0000 (13:49 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 22 Nov 2021 05:13:16 +0000 (05:13 +0000)
commit9eaccaf252bbecce348a0babb07159d418dd380c
tree63985d471184614b73ff5e71b8f893c9266113d8
parent729dc40f6afd4f6a691b9cad970c1121709a3367
pulsesink: Revise condition to set mute in the initial stage

If gst_pulseringbuffer_acquire() is called after _release() due
to any reason (e.g. caps changes), mute was not applied properly
with the current value. It is now fixed.

Note that the condition is slightly changed from upstream codes
especially on the mute_set variable.

Change-Id: I7b81160d12f30fbf1e872212b051adafeb2c50aa
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
ext/pulse/pulsesink.c