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
65abf030
Commit
65abf030
authored
Oct 01, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gvp demux
parent
2ffa2bd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
modules/demux/playlist/gvp.c
modules/demux/playlist/gvp.c
+13
-3
No files found.
modules/demux/playlist/gvp.c
View file @
65abf030
...
@@ -32,6 +32,17 @@
...
@@ -32,6 +32,17 @@
* description:<desc linei>^M
* description:<desc linei>^M
* description:<desc final line (no ^M)>
* description:<desc final line (no ^M)>
* lines starting with # are comments
* lines starting with # are comments
*
* Example:
# download the free Google Video Player from http://video.google.com/
gvp_version:1.1
url:http://vp.video.google.com/videodownload?version=0&secureurl=uAAAAMVHt_Q99OwfGxlWVWH7jd6AA_3n4TboaxIELD_kCg3KcBPSxExZFvQv5DGAxrahVg57KZNZvd0EORPBM3xrxTJ3FdLEWBYiduklpviqjE1Q5zLAkiEZaUsUSFtmbBZDTUUBuN9moYY59eK8lpWXsgTbYB1tLVtaxNBpAMRMyVeHoiJ7BzYdENk-PqJeBbr50QbQ83WK87yJAbN2pSRnF-ucCuNMSLBV7wBL4IcxFpYb1WOK-YXkyxY0NtWlPBufTA&sigh=matNCEVSOR8c-3zN9Gtx0zGinwU&begin=0&len=59749&docid=-715862862672743260
docid:-715862862672743260
duration:59749
title:Apple Macintosh 1984 Superbowl Commercial
description:The now infamous Apple Macintosh commercial aired during the 1984 SuperBowl.
*/
*/
/*****************************************************************************
/*****************************************************************************
...
@@ -68,9 +79,8 @@ int E_(Import_GVP)( vlc_object_t *p_this )
...
@@ -68,9 +79,8 @@ int E_(Import_GVP)( vlc_object_t *p_this )
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
byte_t
*
p_peek
;
byte_t
*
p_peek
;
/* FIXME: we need to skip comment lines !!!! */
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
MAX_LINE
);
CHECK_PEEK
(
p_peek
,
12
);
if
(
!
strstr
(
p_peek
,
"gvp_version:"
)
)
if
(
!
POKE
(
p_peek
,
"gvp_version:"
,
12
)
)
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
...
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