[vlc-commits] access: bluray: lie to slave demux and ignore selections

Francois Cartegnie git at videolan.org
Tue Oct 30 18:12:34 CET 2018


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Oct 19 17:06:13 2018 +0200| [7088eb7077118a52ba223affaafc5ed752fab90b] | committer: Francois Cartegnie

access: bluray: lie to slave demux and ignore selections

(cherry picked from commit 47f8e13abc8a478c2f6dc80b5da080dbf3e85dd4)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=7088eb7077118a52ba223affaafc5ed752fab90b
---

 modules/access/bluray.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 33631a9c6f..6d44902656 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1207,6 +1207,19 @@ static int bluray_esOutControl(es_out_t *p_out, int i_query, va_list args)
                                       p_pair->p_es, false);
             break;
         };
+
+        case ES_OUT_SET_ES_DEFAULT:
+        case ES_OUT_SET_ES:
+        case ES_OUT_SET_ES_STATE:
+            i_ret = VLC_EGENERIC;
+            break;
+
+        case ES_OUT_GET_ES_STATE:
+            va_arg(args, es_out_id_t *);
+            *va_arg(args, bool *) = true;
+            i_ret = VLC_SUCCESS;
+            break;
+
         default:
             i_ret = es_out_vaControl(esout_sys->p_dst_out, i_query, args);
             break;



More information about the vlc-commits mailing list