[vlc-commits] DTV: add DVB-S2 stream support on Linux (fixes #12034)

Rémi Denis-Courmont git at videolan.org
Wed Feb 18 18:45:06 CET 2015


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb 18 19:41:23 2015 +0200| [dc0bb0a5f6c8591f1edf30a8de50cb7f708a5ac8] | committer: Rémi Denis-Courmont

DTV: add DVB-S2 stream support on Linux (fixes #12034)

(cherry picked from commit de775b4323bc4ccc8b30eb6ae9485d7f0be90cd9)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=dc0bb0a5f6c8591f1edf30a8de50cb7f708a5ac8
---

 modules/access/dtv/linux.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c
index 6b36f9b..49af865 100644
--- a/modules/access/dtv/linux.c
+++ b/modules/access/dtv/linux.c
@@ -899,10 +899,11 @@ int dvb_set_dvbs2 (dvb_device_t *d, uint64_t freq_Hz, const char *modstr,
 
     if (dvb_find_frontend (d, DVB_S2))
         return -1;
-    return dvb_set_props (d, 8, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_DVBS2,
+    return dvb_set_props (d, 9, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_DVBS2,
                           DTV_FREQUENCY, freq, DTV_MODULATION, mod,
                           DTV_SYMBOL_RATE, srate, DTV_INNER_FEC, fec,
-                          DTV_PILOT, pilot, DTV_ROLLOFF, rolloff);
+                          DTV_PILOT, pilot, DTV_ROLLOFF, rolloff,
+                          DTV_STREAM_ID, (uint32_t)sid);
 }
 
 



More information about the vlc-commits mailing list