Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
f9b67fc9
Commit
f9b67fc9
authored
Aug 16, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux_qtl: factorize.
parent
ffba3da3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
45 deletions
+10
-45
modules/demux/playlist/qtl.c
modules/demux/playlist/qtl.c
+10
-45
No files found.
modules/demux/playlist/qtl.c
View file @
f9b67fc9
...
...
@@ -188,25 +188,11 @@ static int Demux( demux_t *p_demux )
if
(
!
strcmp
(
psz_attrname
,
"autoplay"
)
)
{
if
(
!
strcmp
(
psz_attrvalue
,
"true"
)
)
{
b_autoplay
=
true
;
}
else
{
b_autoplay
=
false
;
}
b_autoplay
=
!
strcmp
(
psz_attrvalue
,
"true"
);
}
else
if
(
!
strcmp
(
psz_attrname
,
"controler"
)
)
{
if
(
!
strcmp
(
psz_attrvalue
,
"false"
)
)
{
b_controler
=
false
;
}
else
{
b_controler
=
true
;
}
b_controler
=
!
strcmp
(
psz_attrvalue
,
"false"
);
}
else
if
(
!
strcmp
(
psz_attrname
,
"fullscreen"
)
)
{
...
...
@@ -238,14 +224,7 @@ static int Demux( demux_t *p_demux )
}
else
if
(
!
strcmp
(
psz_attrname
,
"kioskmode"
)
)
{
if
(
!
strcmp
(
psz_attrvalue
,
"true"
)
)
{
b_kioskmode
=
true
;
}
else
{
b_kioskmode
=
false
;
}
b_kioskmode
=
!
strcmp
(
psz_attrvalue
,
"true"
);
}
else
if
(
!
strcmp
(
psz_attrname
,
"loop"
)
)
{
...
...
@@ -273,14 +252,7 @@ static int Demux( demux_t *p_demux )
}
else
if
(
!
strcmp
(
psz_attrname
,
"playeveryframe"
)
)
{
if
(
!
strcmp
(
psz_attrvalue
,
"true"
)
)
{
b_playeveryframe
=
true
;
}
else
{
b_playeveryframe
=
false
;
}
b_playeveryframe
=
!
strcmp
(
psz_attrvalue
,
"true"
);
}
else
if
(
!
strcmp
(
psz_attrname
,
"qtnext"
)
)
{
...
...
@@ -289,14 +261,7 @@ static int Demux( demux_t *p_demux )
}
else
if
(
!
strcmp
(
psz_attrname
,
"quitwhendone"
)
)
{
if
(
!
strcmp
(
psz_attrvalue
,
"true"
)
)
{
b_quitwhendone
=
true
;
}
else
{
b_quitwhendone
=
false
;
}
b_quitwhendone
=
!
strcmp
(
psz_attrvalue
,
"true"
);
}
else
if
(
!
strcmp
(
psz_attrname
,
"src"
)
)
{
...
...
@@ -322,22 +287,22 @@ static int Demux( demux_t *p_demux )
}
msg_Dbg
(
p_demux
,
"autoplay: %s (unused by VLC)"
,
b_autoplay
==
true
?
"true"
:
"false"
);
b_autoplay
?
"true"
:
"false"
);
msg_Dbg
(
p_demux
,
"controler: %s (unused by VLC)"
,
b_controler
==
true
?
"true"
:
"false"
);
b_controler
?
"true"
:
"false"
);
msg_Dbg
(
p_demux
,
"fullscreen: %s (unused by VLC)"
,
ppsz_fullscreen
[
fullscreen
]
);
msg_Dbg
(
p_demux
,
"href: %s"
,
psz_href
);
msg_Dbg
(
p_demux
,
"kioskmode: %s (unused by VLC)"
,
b_kioskmode
==
true
?
"true"
:
"false"
);
b_kioskmode
?
"true"
:
"false"
);
msg_Dbg
(
p_demux
,
"loop: %s (unused by VLC)"
,
ppsz_loop
[
loop
]
);
msg_Dbg
(
p_demux
,
"movieid: %d (unused by VLC)"
,
i_movieid
);
msg_Dbg
(
p_demux
,
"moviename: %s"
,
psz_moviename
);
msg_Dbg
(
p_demux
,
"playeverframe: %s (unused by VLC)"
,
b_playeveryframe
==
true
?
"true"
:
"false"
);
b_playeveryframe
?
"true"
:
"false"
);
msg_Dbg
(
p_demux
,
"qtnext: %s"
,
psz_qtnext
);
msg_Dbg
(
p_demux
,
"quitwhendone: %s (unused by VLC)"
,
b_quitwhendone
==
true
?
"true"
:
"false"
);
b_quitwhendone
?
"true"
:
"false"
);
msg_Dbg
(
p_demux
,
"src: %s"
,
psz_src
);
msg_Dbg
(
p_demux
,
"mimetype: %s"
,
psz_mimetype
);
msg_Dbg
(
p_demux
,
"volume: %d (unused by VLC)"
,
i_volume
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment