projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
491583b
)
resindvd: Don't send highlight-reset messages when not needed
author
Jan Schmidt
<thaytan@noraisin.net>
Tue, 5 May 2009 12:18:20 +0000
(13:18 +0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Wed, 6 May 2009 20:21:42 +0000
(21:21 +0100)
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.
ext/resindvd/resindvdsrc.c
patch
|
blob
|
history
diff --git
a/ext/resindvd/resindvdsrc.c
b/ext/resindvd/resindvdsrc.c
index
35cf8e1
..
389b901
100644
(file)
--- 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",