[vlc-commits] TS mux: set correct mimetype

Rafaël Carré git at videolan.org
Fri Feb 10 08:26:37 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Feb  9 21:51:48 2012 -0500| [3915ce7542b2bb2b84b58b1a78935d82eea79d96] | committer: Rafaël Carré

TS mux: set correct mimetype

ref: rfc 3555

Note that MUX_MIME_TYPE is currently never used

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

 modules/mux/mpeg/ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index facd394..86f461b 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -901,7 +901,7 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
 
     case MUX_GET_MIME:
         ppsz = (char**)va_arg( args, char ** );
-        *ppsz = strdup( "video/mpeg" );  /* FIXME not sure */
+        *ppsz = strdup( "video/mp2t" );
         return VLC_SUCCESS;
 
     default:



More information about the vlc-commits mailing list