]> git.sesse.net Git - vlc/blobdiff - modules/access/eyetv.m
Replaced a %d with PRId64 in dvb access.
[vlc] / modules / access / eyetv.m
index 6286c2d317233c1829c490aec69931203cf4bd69..6933e233bb1b27dbbfc1dee5590bfc2bf6081061 100644 (file)
@@ -65,12 +65,12 @@ static void Close( vlc_object_t * );
 
 vlc_module_begin ()
     set_shortname( "EyeTV" )
-    set_description( N_("EyeTV access module") )
+    set_description( N_("EyeTV input") )
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_ACCESS )
 
     add_integer( "eyetv-channel", 0, NULL,
-                 CHANNEL_TEXT, CHANNEL_LONGTEXT, false );
+                 CHANNEL_TEXT, CHANNEL_LONGTEXT, false )
 
     set_capability( "access", 0 )
     add_shortcut( "eyetv" )
@@ -187,7 +187,7 @@ static int Open( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
 
-    publicSock = socket(AF_UNIX, SOCK_STREAM, 0);
+    publicSock = socket(PF_UNIX, SOCK_STREAM, 0);
     if( publicSock == -1 )
     {
         msg_Err( p_access, "create local socket failed (errno=%d)", errno );
@@ -324,11 +324,6 @@ static int Control( access_t *p_access, int i_query, va_list args )
             break;
 
         /* */
-        case ACCESS_GET_MTU:
-            pi_int = (int*)va_arg( args, int * );
-            *pi_int = MTU;
-            break;
-
         case ACCESS_GET_PTS_DELAY:
             pi_64 = (int64_t*)va_arg( args, int64_t * );
             *pi_64 = (int64_t) p_sys->i_pts_delay * 1000;