mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
resindvd: Don't send highlight-reset messages when not needed
Fix a small bug that results in the SPU highlight being reset more often than is necessary - ie, clearing it when it's already cleared.
This commit is contained in:
parent
491583b648
commit
f7fad4a88b
1 changed files with 1 additions and 1 deletions
|
@ -1798,7 +1798,7 @@ rsn_dvdsrc_update_highlight (resinDvdSrc * src)
|
|||
|
||||
if (button == 0) {
|
||||
/* No highlight available, or no button selected - clear the SPU */
|
||||
if (src->active_button < 1) {
|
||||
if (src->active_button != 0) {
|
||||
src->active_button = 0;
|
||||
|
||||
s = gst_structure_new ("application/x-gst-dvd", "event",
|
||||
|
|
Loading…
Reference in a new issue