[libbluray-devel] BDJListeners: add org.dvb.media.VideoFormatEvent
hpi1
git at videolan.org
Fri Oct 30 11:55:42 CET 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Oct 30 12:52:45 2015 +0200| [690b71c9fe5046280b9310d7e2cfdf10ea1e387b] | committer: hpi1
BDJListeners: add org.dvb.media.VideoFormatEvent
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=690b71c9fe5046280b9310d7e2cfdf10ea1e387b
---
src/libbluray/bdj/java/org/videolan/BDJListeners.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/libbluray/bdj/java/org/videolan/BDJListeners.java b/src/libbluray/bdj/java/org/videolan/BDJListeners.java
index 77acf4d..ba3a9c5 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJListeners.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJListeners.java
@@ -56,6 +56,8 @@ import org.dvb.media.SubtitleListener;
import org.dvb.media.SubtitleNotAvailableEvent;
import org.dvb.media.SubtitleNotSelectedEvent;
import org.dvb.media.SubtitleSelectedEvent;
+import org.dvb.media.VideoFormatListener;
+import org.dvb.media.VideoFormatEvent;
public class BDJListeners {
private LinkedList listeners = new LinkedList();
@@ -220,6 +222,9 @@ public class BDJListeners {
event instanceof SubtitleNotSelectedEvent || event instanceof SubtitleSelectedEvent) {
((SubtitleListener)listener).subtitleStatusChanged((EventObject)event);
+ } else if (event instanceof VideoFormatEvent) {
+ ((VideoFormatListener)listener).receiveVideoFormatEvent((VideoFormatEvent)event);
+
} else if (event instanceof PSR102Status) {
((StatusListener)listener).receive(((PSR102Status)event).value);
More information about the libbluray-devel
mailing list