[vlc-devel] [PATCH 1/6] input: change ITEM_TYPE_NET handling
Thomas Guillem
thomas at gllm.fr
Tue Mar 24 15:45:12 CET 2015
When an item was a NET type, there was no way to distinguish if the item was a
file, a playlist or directory.
Replace ITEM_TYPE_NET by ITEM_TYPE_STREAM that is set for streams (rtsp,
httplive, mms...).
Add a new variable, b_net in addition to i_type. This variable is automatically
set when creating a new Item (set to true for ITEM_TYPE_STREAM). It can be
overridden via the new input_item_NewWithTypeExt function. This new function
will allow accesses to create FILE, or DIRECTORY items with b_net set to true.
Unless forced, the preparser won't parse items with b_net == true.
---
include/vlc_input_item.h | 14 ++-
modules/demux/playlist/sgimb.c | 2 +-
modules/gui/qt4/components/playlist/vlc_model.cpp | 2 +-
modules/gui/qt4/pixmaps/types/type_net.png | Bin 783 -> 0 bytes
modules/gui/qt4/pixmaps/types/type_net.svgz | Bin 7603 -> 0 bytes
modules/gui/qt4/pixmaps/types/type_stream.png | Bin 0 -> 783 bytes
modules/gui/qt4/pixmaps/types/type_stream.svgz | Bin 0 -> 7603 bytes
modules/gui/qt4/vlc.qrc | 2 +-
modules/services_discovery/sap.c | 5 +-
src/input/item.c | 140 +++++++++++++---------
src/libvlccore.sym | 1 +
src/playlist/preparser.c | 6 +-
12 files changed, 104 insertions(+), 68 deletions(-)
delete mode 100644 modules/gui/qt4/pixmaps/types/type_net.png
delete mode 100644 modules/gui/qt4/pixmaps/types/type_net.svgz
create mode 100644 modules/gui/qt4/pixmaps/types/type_stream.png
create mode 100644 modules/gui/qt4/pixmaps/types/type_stream.svgz
diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index 8502dd3..d0a6854 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -85,6 +85,8 @@ struct input_item_t
vlc_mutex_t lock; /**< Lock for the item */
uint8_t i_type; /**< Type (file, disc, ... see input_item_type_e) */
+ bool b_net; /**< Net: always true for TYPE_STREAM, it
+ depends for others types */
bool b_error_when_reading;/**< Error When Reading */
};
@@ -98,7 +100,7 @@ enum input_item_type_e
ITEM_TYPE_DISC,
ITEM_TYPE_CDDA,
ITEM_TYPE_CARD,
- ITEM_TYPE_NET,
+ ITEM_TYPE_STREAM,
ITEM_TYPE_PLAYLIST,
ITEM_TYPE_NODE,
@@ -258,6 +260,16 @@ VLC_API input_item_t * input_item_NewWithType( const char *psz_uri, const char *
/**
* This function creates a new input_item_t with the provided information.
*
+ * \param i_net 1/0: force b_net to true/false, -1: default (guess it)
+ *
+ * XXX You may also use input_item_New, input_item_NewExt, or
+ * input_item_NewWithType as they need less arguments.
+ */
+VLC_API input_item_t * input_item_NewWithTypeExt( const char *psz_uri, const char *psz_name, int i_options, const char *const *ppsz_options, unsigned i_option_flags, mtime_t i_duration, int i_type, int i_net ) VLC_USED;
+
+/**
+ * This function creates a new input_item_t with the provided information.
+ *
* Provided for convenience.
*/
VLC_API input_item_t * input_item_NewExt( const char *psz_uri, const char *psz_name, int i_options, const char *const *ppsz_options, unsigned i_option_flags, mtime_t i_duration ) VLC_USED;
diff --git a/modules/demux/playlist/sgimb.c b/modules/demux/playlist/sgimb.c
index 7aaa886..fd2e064 100644
--- a/modules/demux/playlist/sgimb.c
+++ b/modules/demux/playlist/sgimb.c
@@ -374,7 +374,7 @@ static int Demux ( demux_t *p_demux )
p_child = input_item_NewWithType( p_sys->psz_uri,
p_sys->psz_name ? p_sys->psz_name : p_sys->psz_uri,
- 0, NULL, 0, p_sys->i_duration, ITEM_TYPE_NET );
+ 0, NULL, 0, p_sys->i_duration, ITEM_TYPE_STREAM );
if( !p_child )
{
diff --git a/modules/gui/qt4/components/playlist/vlc_model.cpp b/modules/gui/qt4/components/playlist/vlc_model.cpp
index 9df4bfb..40465a2 100644
--- a/modules/gui/qt4/components/playlist/vlc_model.cpp
+++ b/modules/gui/qt4/components/playlist/vlc_model.cpp
@@ -57,7 +57,7 @@ VLCModel::VLCModel( intf_thread_t *_p_intf, QObject *parent )
ADD_ICON( DISC, ":/type/disc" );
ADD_ICON( CDDA, ":/type/cdda" );
ADD_ICON( CARD, ":/type/capture-card" );
- ADD_ICON( NET, ":/type/net" );
+ ADD_ICON( STREAM, ":/type/stream" );
ADD_ICON( PLAYLIST, ":/type/playlist" );
ADD_ICON( NODE, ":/type/node" );
#undef ADD_ICON
diff --git a/modules/gui/qt4/pixmaps/types/type_net.png b/modules/gui/qt4/pixmaps/types/type_net.png
deleted file mode 100644
index faf7ba992a8971a07e7b627b3c701676952de0b2..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 783
zcmV+q1MvKbP)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00004b3#c}2nYxW
zd<bNS00009a7bBm000fw000fw0YWI7cmMzZ8FWQhbW?9;ba!ELWdL_~cP?peYja~^
zaAhuUa%Y?FJQ at H10*pySK~y-)jgwzUQ*ji>O){gP*T9HyYunZBPSd&@ZqDVpcdn3a
zX&YwJum at 8z($>sB)0z`q!w|zi`4DZ=7L|@7%pMdXv|!T1wt}A2wFoLo3nC=^c6UKh
zrq&O>{P=Nx=X1{QobyWpkhE6p+Qu+UwOlTrqA1y{T%H%DC~7h%C#R0JB`4fpd!T7L
zO(v5?XzlR at SO3_TTlZ&S at 0r9|OXafL?S?|33W`Lc^bG;*N?{o72WQX2ug_k6$2hCo
z{vd2k9q<m{!}Rntyk0K~)S4K3H#GrJT57smeW8A7aP$*~$3DaJWEKrq?TE!<oI;@x
z0)YS=4hJM;)`N9`c=U$GmLFZNn`m at DhoR&QGQ}iDMn)3=-QC?#t2Mt at vfu!0!7_%1
zhL-2&=V8Bo1C=%HFq*5--#>sBdpmqSKlcQm&j+W|37t*{9*?J71*lZ2D!<>4Xf(=2
zi$o%*z0?TvIR`3Q!zjNpj^dJPbar;aYPCYI*CRdsVACo<C=?QPb at iB-m_RTXL^vFV
z$K%0?ssM^EhM=ttK~wVvl-3Hl@)!yW3&H2}6>Dp-ozdxk_4V~}j`3`IdwZcOaUrXG
z2HC8nr)MD6KY~J8fWwqxDPFgAT at Xm}pIR&y*lad5H#c)KnJbW`?Sj}Gg!t4;5V-~}
zeIc3uVxu`oCM2?NCX)$eWo4@(^3HPrBKIVWMk6vw`OlT;36m%~M5hTQ`ExYQaLxvU
z0V3sPkVlHy)~Vx>KW1dpf=x$xMLcOyn?Q2(EkP<5_Z^V_5lS`h`6TU%|C25M!baM=
zpBR)%ncbV&{|TsReLPir?e(550UdYd7E*TX^tKJWTm0`mb=P3r_b>h1SO$G3HtYZZ
N002ovPDHLkV1lxzT+aXi
diff --git a/modules/gui/qt4/pixmaps/types/type_net.svgz b/modules/gui/qt4/pixmaps/types/type_net.svgz
deleted file mode 100644
index 873e9453e6e15611109b02656989b8a1714885fb..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 7603
zcmV;k9ZcdMiwFP!000000PS5{b6dHQe)q57YF^@6k;46=*pnJxW-CuywMl9pw`hvC
zwUJ0IMcdMB?SJ2|yMc3X4k;bY#GXv5B2~sZKp&vd=>GZwka_WkyX&jj=k at OPa=UqX
zq8I99w%)9^7nhq4FHipR=O5?kWOln>ZZ4Kr+s*pr$!2@<hwq=g_?P*7_IkHo?$;Ny
zFPHm|vp;VBdb?WQtY^RbxZmHLpPhaA@?~*Z8W-E$hqLFi`TYB5&tBYq{_t!zn_=F~
z?fJ#(<w<$r=F{$q2`^S>>#Ozkdb7Vh(+hoe(vz=x@)gZ~`FXwCUSDrFxBTYj_Pd67
zck#ZXCT_l1Cek_QGiA<<nS)|}d%xK)@8-i-!Q-)4jZ*3ieLdyVsLt=MAc_Z>;of$3
zi2nxv>t3i0i`(s|-D>?FZ>|@c_5SS5pWk$ybG5kGUo^v1=?~@|Y{_PMy}rF!uGY6_
zwVmJpa(S`;2yF=b^l^Rp;p4u0yu5gMg4G#*Xf#JlZyD#j>ro4r7G}1~NoOXh44+?Y
zSH!`~ll}e8`oFNA1;+hpIL!L)X1m+Z-(Oy>h4$>@_IiExezn}~*B>@#pRZOT6#DDz
zdVBHd3ak0>>GJG<_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.png
new file mode 100644
index 0000000000000000000000000000000000000000..faf7ba992a8971a07e7b627b3c701676952de0b2
GIT binary patch
literal 783
zcmV+q1MvKbP)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00004b3#c}2nYxW
zd<bNS00009a7bBm000fw000fw0YWI7cmMzZ8FWQhbW?9;ba!ELWdL_~cP?peYja~^
zaAhuUa%Y?FJQ at H10*pySK~y-)jgwzUQ*ji>O){gP*T9HyYunZBPSd&@ZqDVpcdn3a
zX&YwJum at 8z($>sB)0z`q!w|zi`4DZ=7L|@7%pMdXv|!T1wt}A2wFoLo3nC=^c6UKh
zrq&O>{P=Nx=X1{QobyWpkhE6p+Qu+UwOlTrqA1y{T%H%DC~7h%C#R0JB`4fpd!T7L
zO(v5?XzlR at SO3_TTlZ&S at 0r9|OXafL?S?|33W`Lc^bG;*N?{o72WQX2ug_k6$2hCo
z{vd2k9q<m{!}Rntyk0K~)S4K3H#GrJT57smeW8A7aP$*~$3DaJWEKrq?TE!<oI;@x
z0)YS=4hJM;)`N9`c=U$GmLFZNn`m at DhoR&QGQ}iDMn)3=-QC?#t2Mt at vfu!0!7_%1
zhL-2&=V8Bo1C=%HFq*5--#>sBdpmqSKlcQm&j+W|37t*{9*?J71*lZ2D!<>4Xf(=2
zi$o%*z0?TvIR`3Q!zjNpj^dJPbar;aYPCYI*CRdsVACo<C=?QPb at iB-m_RTXL^vFV
z$K%0?ssM^EhM=ttK~wVvl-3Hl@)!yW3&H2}6>Dp-ozdxk_4V~}j`3`IdwZcOaUrXG
z2HC8nr)MD6KY~J8fWwqxDPFgAT at Xm}pIR&y*lad5H#c)KnJbW`?Sj}Gg!t4;5V-~}
zeIc3uVxu`oCM2?NCX)$eWo4@(^3HPrBKIVWMk6vw`OlT;36m%~M5hTQ`ExYQaLxvU
z0V3sPkVlHy)~Vx>KW1dpf=x$xMLcOyn?Q2(EkP<5_Z^V_5lS`h`6TU%|C25M!baM=
zpBR)%ncbV&{|TsReLPir?e(550UdYd7E*TX^tKJWTm0`mb=P3r_b>h1SO$G3HtYZZ
N002ovPDHLkV1lxzT+aXi
literal 0
HcmV?d00001
diff --git a/modules/gui/qt4/pixmaps/types/type_stream.svgz b/modules/gui/qt4/pixmaps/types/type_stream.svgz
new file mode 100644
index 0000000000000000000000000000000000000000..873e9453e6e15611109b02656989b8a1714885fb
GIT binary patch
literal 7603
zcmV;k9ZcdMiwFP!000000PS5{b6dHQe)q57YF^@6k;46=*pnJxW-CuywMl9pw`hvC
zwUJ0IMcdMB?SJ2|yMc3X4k;bY#GXv5B2~sZKp&vd=>GZwka_WkyX&jj=k at OPa=UqX
zq8I99w%)9^7nhq4FHipR=O5?kWOln>ZZ4Kr+s*pr$!2@<hwq=g_?P*7_IkHo?$;Ny
zFPHm|vp;VBdb?WQtY^RbxZmHLpPhaA@?~*Z8W-E$hqLFi`TYB5&tBYq{_t!zn_=F~
z?fJ#(<w<$r=F{$q2`^S>>#Ozkdb7Vh(+hoe(vz=x@)gZ~`FXwCUSDrFxBTYj_Pd67
zck#ZXCT_l1Cek_QGiA<<nS)|}d%xK)@8-i-!Q-)4jZ*3ieLdyVsLt=MAc_Z>;of$3
zi2nxv>t3i0i`(s|-D>?FZ>|@c_5SS5pWk$ybG5kGUo^v1=?~@|Y{_PMy}rF!uGY6_
zwVmJpa(S`;2yF=b^l^Rp;p4u0yu5gMg4G#*Xf#JlZyD#j>ro4r7G}1~NoOXh44+?Y
zSH!`~ll}e8`oFNA1;+hpIL!L)X1m+Z-(Oy>h4$>@_IiExezn}~*B>@#pRZOT6#DDz
zdVBHd3ak0>>GJG<_U`QF^6q+hb9+V;$bWg7o6U!#v)o<WK<HT=?Yys at -=p`%#rpj%
zQHeb0$#Dm|cFT*)<<-B at KhR+zn$13x=Rfb3n_KMQ^~;m%<$ia0_dC4^S%vJ~DMS^t
ziBY9f?56QLqJx^VF)4cIPwgTo7i`X_W?@5e`uWLtg1>Ao_t48vx9i=XXm9_0^OxIo
zN40x-;=70U_q;tO1{;I!o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OSNKz!K8XrYO_wB<x{vN3(X|+FoDL<7 at 4kN|pOZf<GB at Kn%
zBZ9P`IW_QwK{pNZ7hlQ;eI%Dc6hKYx;Vbq7+Dw=7d1w(iHzvAaC9j%6Q+b6i<<m<u
zrtz_M+1Z#_!gs#$L`R<d>4NBU(6SJ|6zUCsx&SEEH}GHe(*<;3&J@{|9{H?5OPl4>
z1&AS2E}t%-ZX4y(1(aJiP34vH>4Lx?E+BjGrOVC6#O}Bz9sNT8U;8$oJ;)OVD&#}7
zk4xVD#wE|Vh;$wa9dXRZcq<ODfgFU-{8u1e>8=akLeaox#i?a|v1`&4X9mrmZ~+^L
z)pF(vP6(8q&>Io4Ed0tM8ZMG{X+$oUgv!+9d&<;2IMDKxcxa!6ff;=gC|Hi!0)5Ff
zvJ{#+QS6KmGa<gKq~#`MlADxusyb6$BQ@}P_$@elUmJLRnlD4mczNEI>+Qkljy!b&
z>1L>M?07E%Z5q1OuoR_!BI`M2QPL4(U64 at w&|T=sgHKL1W)!|XAoCa3J(_pZ*HOPb
zsb8PfehWr#X`@e2S;HUdIW at FUMVgT*8|Pzj9Vj}8r}VW1$Vt2B at -IXPTE`!GDJ0TG
z=Z*tfYUqdU`s!OvOC`tdlow`o=t?vj5~HC4v{!To3`<CezvXHnNDNht;)3y{doKUt
zHKH}-nhS|^k<AZisi7aX>#J`yEtMQgC@;+F(3NO5B#sY2^U?oLkVii|`nAH~7iS;7
VfA)gDTHyO<{||2Ai1vwU004Fj;1&P?
literal 0
HcmV?d00001
diff --git a/modules/gui/qt4/vlc.qrc b/modules/gui/qt4/vlc.qrc
index cbf7a9d..e5972a9 100644
--- a/modules/gui/qt4/vlc.qrc
+++ b/modules/gui/qt4/vlc.qrc
@@ -87,7 +87,7 @@
<file alias="network">pixmaps/types/network_16px.png</file>
<file alias="directory">pixmaps/types/type_directory.png</file>
<file alias="file">pixmaps/types/type_file.png</file>
- <file alias="net">pixmaps/types/type_net.png</file>
+ <file alias="stream">pixmaps/types/type_stream.png</file>
<file alias="node">pixmaps/types/type_node.png</file>
<file alias="playlist">pixmaps/types/type_playlist.png</file>
</qresource>
diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index 392d213..4b06b1f 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -643,7 +643,8 @@ static int Demux( demux_t *p_demux )
vlc_mutex_lock( &p_parent_input->lock );
- p_parent_input->i_type = ITEM_TYPE_NET;
+ p_parent_input->i_type = ITEM_TYPE_STREAM;
+ p_parent_input->b_net = true;
vlc_mutex_unlock( &p_parent_input->lock );
vlc_object_release( p_input );
@@ -856,7 +857,7 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint32_t *i_source,
/* Released in RemoveAnnounce */
p_input = input_item_NewWithType( p_sap->p_sdp->psz_uri,
p_sdp->psz_sessionname,
- 0, NULL, 0, -1, ITEM_TYPE_NET );
+ 0, NULL, 0, -1, ITEM_TYPE_STREAM );
if( unlikely(p_input == NULL) )
{
free( p_sap );
diff --git a/src/input/item.c b/src/input/item.c
index 76fc818..ef2466b 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -35,7 +35,7 @@
#include "item.h"
#include "info.h"
-static int GuessType( const input_item_t *p_item );
+static int GuessType( const input_item_t *p_item, bool *p_net );
void input_item_SetErrorWhenReading( input_item_t *p_i, bool b_error )
{
@@ -306,7 +306,7 @@ void input_item_SetURI( input_item_t *p_i, const char *psz_uri )
free( p_i->psz_uri );
p_i->psz_uri = strdup( psz_uri );
- p_i->i_type = GuessType( p_i );
+ p_i->i_type = GuessType( p_i, &p_i->b_net );
if( p_i->psz_name )
;
@@ -831,9 +831,10 @@ input_item_t *input_item_NewExt( const char *psz_uri,
input_item_t *
-input_item_NewWithType( const char *psz_uri, const char *psz_name,
- int i_options, const char *const *ppsz_options,
- unsigned flags, mtime_t duration, int type )
+input_item_NewWithTypeExt( const char *psz_uri, const char *psz_name,
+ int i_options, const char *const *ppsz_options,
+ unsigned flags, mtime_t duration, int type,
+ int i_net )
{
static atomic_uint last_input_id = ATOMIC_VAR_INIT(0);
@@ -885,10 +886,24 @@ input_item_NewWithType( const char *psz_uri, const char *psz_name,
if( type != ITEM_TYPE_UNKNOWN )
p_input->i_type = type;
- p_input->b_error_when_reading = false;
+
+ if( i_net != -1 )
+ p_input->b_net = !!i_net;
+ else if( p_input->i_type == ITEM_TYPE_STREAM )
+ p_input->b_net = true;
return p_input;
}
+input_item_t *
+input_item_NewWithType( const char *psz_uri, const char *psz_name,
+ int i_options, const char *const *ppsz_options,
+ unsigned flags, mtime_t duration, int type )
+{
+ return input_item_NewWithTypeExt( psz_uri, psz_name, i_options,
+ ppsz_options, flags, duration, type,
+ -1 );
+}
+
input_item_t *input_item_Copy( input_item_t *p_input )
{
vlc_mutex_lock( &p_input->lock );
@@ -923,6 +938,7 @@ struct item_type_entry
{
const char psz_scheme[7];
uint8_t i_type;
+ bool b_net;
};
static int typecmp( const void *key, const void *entry )
@@ -934,61 +950,61 @@ static int typecmp( const void *key, const void *entry )
}
/* Guess the type of the item using the beginning of the mrl */
-static int GuessType( const input_item_t *p_item )
+static int GuessType( const input_item_t *p_item, bool *p_net )
{
static const struct item_type_entry tab[] =
{ /* /!\ Alphabetical order /!\ */
/* Short match work, not just exact match */
- { "alsa", ITEM_TYPE_CARD },
- { "atsc", ITEM_TYPE_CARD },
- { "bd", ITEM_TYPE_DISC },
- { "cable", ITEM_TYPE_CARD },
- { "cdda", ITEM_TYPE_CDDA },
- { "cqam", ITEM_TYPE_CARD },
- { "dc1394", ITEM_TYPE_CARD },
- { "dccp", ITEM_TYPE_NET },
- { "deckli", ITEM_TYPE_CARD }, /* decklink */
- { "dir", ITEM_TYPE_DIRECTORY },
- { "dshow", ITEM_TYPE_CARD },
- { "dv", ITEM_TYPE_CARD },
- { "dvb", ITEM_TYPE_CARD },
- { "dvd", ITEM_TYPE_DISC },
- { "dtv", ITEM_TYPE_CARD },
- { "eyetv", ITEM_TYPE_CARD },
- { "fd", ITEM_TYPE_UNKNOWN },
- { "ftp", ITEM_TYPE_NET },
- { "http", ITEM_TYPE_NET },
- { "icyx", ITEM_TYPE_NET },
- { "imem", ITEM_TYPE_UNKNOWN },
- { "itpc", ITEM_TYPE_NET },
- { "jack", ITEM_TYPE_CARD },
- { "linsys", ITEM_TYPE_CARD },
- { "live", ITEM_TYPE_NET }, /* livedotcom */
- { "mms", ITEM_TYPE_NET },
- { "mtp", ITEM_TYPE_DISC },
- { "ofdm", ITEM_TYPE_CARD },
- { "oss", ITEM_TYPE_CARD },
- { "pnm", ITEM_TYPE_NET },
- { "qam", ITEM_TYPE_CARD },
- { "qpsk", ITEM_TYPE_CARD },
- { "qtcapt", ITEM_TYPE_CARD }, /* qtcapture */
- { "raw139", ITEM_TYPE_CARD }, /* raw1394 */
- { "rt", ITEM_TYPE_NET }, /* rtp, rtsp, rtmp */
- { "satell", ITEM_TYPE_CARD }, /* sattelite */
- { "screen", ITEM_TYPE_CARD },
- { "sdp", ITEM_TYPE_NET },
- { "sftp", ITEM_TYPE_NET },
- { "shm", ITEM_TYPE_CARD },
- { "smb", ITEM_TYPE_NET },
- { "svcd", ITEM_TYPE_DISC },
- { "tcp", ITEM_TYPE_NET },
- { "terres", ITEM_TYPE_CARD }, /* terrestrial */
- { "udp", ITEM_TYPE_NET }, /* udplite too */
- { "unsv", ITEM_TYPE_NET },
- { "usdigi", ITEM_TYPE_CARD }, /* usdigital */
- { "v4l", ITEM_TYPE_CARD },
- { "vcd", ITEM_TYPE_DISC },
- { "window", ITEM_TYPE_CARD },
+ { "alsa", ITEM_TYPE_CARD, false },
+ { "atsc", ITEM_TYPE_CARD, false },
+ { "bd", ITEM_TYPE_DISC, false },
+ { "cable", ITEM_TYPE_CARD, false },
+ { "cdda", ITEM_TYPE_CDDA, false },
+ { "cqam", ITEM_TYPE_CARD, false },
+ { "dc1394", ITEM_TYPE_CARD, false },
+ { "dccp", ITEM_TYPE_STREAM, true },
+ { "deckli", ITEM_TYPE_CARD, false }, /* decklink */
+ { "dir", ITEM_TYPE_DIRECTORY, false },
+ { "dshow", ITEM_TYPE_CARD, false },
+ { "dv", ITEM_TYPE_CARD, false },
+ { "dvb", ITEM_TYPE_CARD, false },
+ { "dvd", ITEM_TYPE_DISC, false },
+ { "dtv", ITEM_TYPE_CARD, false },
+ { "eyetv", ITEM_TYPE_CARD, false },
+ { "fd", ITEM_TYPE_UNKNOWN, false },
+ { "ftp", ITEM_TYPE_FILE, true },
+ { "http", ITEM_TYPE_FILE, true },
+ { "icyx", ITEM_TYPE_STREAM, true },
+ { "imem", ITEM_TYPE_UNKNOWN, false },
+ { "itpc", ITEM_TYPE_PLAYLIST, true },
+ { "jack", ITEM_TYPE_CARD, false },
+ { "linsys", ITEM_TYPE_CARD, false },
+ { "live", ITEM_TYPE_STREAM, true }, /* livedotcom */
+ { "mms", ITEM_TYPE_STREAM, true },
+ { "mtp", ITEM_TYPE_DISC, false },
+ { "ofdm", ITEM_TYPE_CARD, false },
+ { "oss", ITEM_TYPE_CARD, false },
+ { "pnm", ITEM_TYPE_STREAM, true },
+ { "qam", ITEM_TYPE_CARD, false },
+ { "qpsk", ITEM_TYPE_CARD, false },
+ { "qtcapt", ITEM_TYPE_CARD, false }, /* qtcapture */
+ { "raw139", ITEM_TYPE_CARD, false }, /* raw1394 */
+ { "rt", ITEM_TYPE_STREAM, true }, /* rtp, rtsp, rtmp */
+ { "satell", ITEM_TYPE_CARD, false }, /* sattelite */
+ { "screen", ITEM_TYPE_CARD, false },
+ { "sdp", ITEM_TYPE_FILE, true },
+ { "sftp", ITEM_TYPE_FILE, true },
+ { "shm", ITEM_TYPE_CARD, false },
+ { "smb", ITEM_TYPE_FILE, true },
+ { "svcd", ITEM_TYPE_DISC, false },
+ { "tcp", ITEM_TYPE_STREAM, true },
+ { "terres", ITEM_TYPE_CARD, false }, /* terrestrial */
+ { "udp", ITEM_TYPE_STREAM, true }, /* udplite too */
+ { "unsv", ITEM_TYPE_STREAM, true },
+ { "usdigi", ITEM_TYPE_CARD, false }, /* usdigital */
+ { "v4l", ITEM_TYPE_CARD, false },
+ { "vcd", ITEM_TYPE_DISC, false },
+ { "window", ITEM_TYPE_CARD, false },
};
const struct item_type_entry *e;
@@ -997,7 +1013,15 @@ static int GuessType( const input_item_t *p_item )
e = bsearch( p_item->psz_uri, tab, sizeof( tab ) / sizeof( tab[0] ),
sizeof( tab[0] ), typecmp );
- return e ? e->i_type : ITEM_TYPE_FILE;
+ if( e )
+ {
+ *p_net = e->b_net;
+ return e->i_type;
+ } else
+ {
+ *p_net = false;
+ return ITEM_TYPE_FILE;
+ }
}
input_item_node_t *input_item_node_Create( input_item_t *p_input )
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 1b39c0e..2d88c8d 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -199,6 +199,7 @@ input_item_MetaMatch
input_item_MergeInfos
input_item_NewExt
input_item_NewWithType
+input_item_NewWithTypeExt
input_item_Hold
input_item_Release
input_item_node_AppendItem
diff --git a/src/playlist/preparser.c b/src/playlist/preparser.c
index e13862c..f1c1d1f 100644
--- a/src/playlist/preparser.c
+++ b/src/playlist/preparser.c
@@ -147,6 +147,7 @@ static void Preparse( vlc_object_t *obj, input_item_t *p_item,
{
vlc_mutex_lock( &p_item->lock );
int i_type = p_item->i_type;
+ bool b_net = p_item->b_net;
vlc_mutex_unlock( &p_item->lock );
bool b_preparse = false;
@@ -155,10 +156,7 @@ static void Preparse( vlc_object_t *obj, input_item_t *p_item,
case ITEM_TYPE_DIRECTORY:
case ITEM_TYPE_PLAYLIST:
case ITEM_TYPE_NODE:
- b_preparse = true;
- break;
- case ITEM_TYPE_NET:
- if (i_options & META_REQUEST_OPTION_SCOPE_NETWORK)
+ if (!b_net || i_options & META_REQUEST_OPTION_SCOPE_NETWORK)
b_preparse = true;
break;
}
--
2.1.3
More information about the vlc-devel
mailing list