diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-05-05 13:18:20 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-05-06 21:21:42 +0100 |
commit | f7fad4a88b56dd74b14070886c8e86bb14942b20 (patch) | |
tree | dcf3d8d1144574999b9e48ff0c2cb971a466999b /ext | |
parent | 491583b6482fd6287653b8c6fb49494dd44b4261 (diff) | |
download | gst-plugins-bad-f7fad4a88b56dd74b14070886c8e86bb14942b20.tar.gz gst-plugins-bad-f7fad4a88b56dd74b14070886c8e86bb14942b20.tar.bz2 gst-plugins-bad-f7fad4a88b56dd74b14070886c8e86bb14942b20.zip |
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/resindvd/resindvdsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c index 35cf8e15..389b9016 100644 --- a/ext/resindvd/resindvdsrc.c +++ b/ext/resindvd/resindvdsrc.c @@ -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", |