]> git.sesse.net Git - vlc/commitdiff
Support for QAM modulation on ATSC
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 Nov 2008 15:26:58 +0000 (16:26 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 Nov 2008 15:29:10 +0000 (16:29 +0100)
Default is not QAM_AUTO because ATSC is mainly using VSB_8 for non-cable operations.
Patch by Charles Hordis

THANKS
modules/access/dvb/linux_dvb.c

diff --git a/THANKS b/THANKS
index 5ef38143ebe25d8aa248662d2814627dec400c91..f6f50c60ebd0c85deb925819a22bf4b4dc250960 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -54,6 +54,7 @@ Carlo Calabrò <murray at via.ecp.fr> - Italian localization
 Carsten Gottbehüt <gottbehuet at active-elements dot de> - v4l hotplug fix
 Carsten Haitzler <raster __at__ rasterman dot com> - x11 fullscreen fix
 Cédric Cocquebert - Misc opengl effects for the OpenGL Video Output. "Panoramix" video filter for image walls with automatic attenuation. Fix on sharpen filter.
+Charles Hordis - QAM modulation on ATSC
 Chris Clepper - OpenGL fix
 Christian Henz - libupnp service discovery plugin, CyberLink UPnP fixes
 Cristian Secară <cristi at secarica dot ro> - Romanian l10n
index f6ed3afe8aa94c463376532c9c5383be4ddbfa43..365dc73ba064e8807606669d5d5647b5ee56d552 100644 (file)
@@ -794,8 +794,13 @@ static fe_modulation_t DecodeModulationATSC( access_t *p_access )
 {
     switch( var_GetInteger( p_access, "dvb-modulation" ) )
     {
+        case 0:     return QAM_AUTO;
         case 8:     return VSB_8;
         case 16:    return VSB_16;
+        case 32:    return QAM_32;
+        case 64:    return QAM_64;
+        case 128:   return QAM_128;
+        case 256:   return QAM_256;
         default:
             msg_Dbg( p_access, "ATSC modulation not set, using VSB 8");
             return VSB_8;