[vlc-devel] [PATCH] TY module selection issues

Neal Symms nsymms at redwar.us
Thu Mar 17 20:24:44 CET 2005


Evidently when the TY demux module was renamed from "tydemux" to "ty" the
detection logic was overlooked.  This patch fixes so the module can be
specified properly in the MRL.

Thanks
Neal



Index: ty.c
===================================================================
--- ty.c        (revision 10378)
+++ ty.c        (working copy)
@@ -170,7 +170,7 @@
         /* doesn't look like a TY file... */
         char *psz_ext = strrchr(p_demux->psz_path, '.');
         /* if they specified tydemux, or if the file ends in .ty we try
anyway */
-        if (psz_ext && strcmp(p_demux->psz_demux, "tydemux") &&
+        if (psz_ext && strcmp(p_demux->psz_demux, "ty") &&
             strcasecmp(psz_ext, ".ty"))
             return VLC_EGENERIC;
         msg_Warn(p_demux, "this does not look like a TY file, continuing
anyway...");

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list