[vlc-commits] mux: ts: fix incorrect handling of sd service

Francois Cartegnie git at videolan.org
Tue Apr 26 20:39:06 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 26 20:08:20 2016 +0200| [de7f29f294456ef9c5379a895ac0d825c41a1308] | committer: Francois Cartegnie

mux: ts: fix incorrect handling of sd service

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

 modules/mux/mpeg/tables.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/mux/mpeg/tables.c b/modules/mux/mpeg/tables.c
index 3813f75..4012c66 100644
--- a/modules/mux/mpeg/tables.c
+++ b/modules/mux/mpeg/tables.c
@@ -260,10 +260,7 @@ static void UpdateServiceType( uint8_t *pi_service_cat, uint8_t *pi_service_type
         case 0x01: /* MPEG1 */
         case 0x02: /* MPEG2 */
         case 0x80:
-            if( p_pes->i_height > 468 && p_pes->i_width > 720 )
-                i_type = 0x19;
-            else
-                i_type = 0x01;
+            i_type = 0x01;
             break;
 
         case 0x24: /* HEVC */



More information about the vlc-commits mailing list