Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2f3ee903
Commit
2f3ee903
authored
Sep 03, 2004
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/pvr/pvr.c: Added a --pvr-caching option.
parent
bd91365c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/access/pvr/pvr.c
modules/access/pvr/pvr.c
+4
-2
No files found.
modules/access/pvr/pvr.c
View file @
2f3ee903
...
...
@@ -182,7 +182,6 @@ static int Open( vlc_object_t * p_this )
access_t
*
p_access
=
(
access_t
*
)
p_this
;
access_sys_t
*
p_sys
;
char
*
psz_tofree
,
*
psz_parser
,
*
psz_device
;
vlc_value_t
val
;
struct
v4l2_format
vfmt
;
...
...
@@ -207,6 +206,8 @@ static int Open( vlc_object_t * p_this )
p_access
->
p_sys
=
p_sys
;
/* defaults values */
var_Create
(
p_access
,
"pvr-caching"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_access
,
"pvr-device"
,
VLC_VAR_STRING
|
VLC_VAR_DOINHERIT
);
var_Get
(
p_access
,
"pvr-device"
,
&
val
);
psz_device
=
val
.
psz_string
;
...
...
@@ -625,6 +626,7 @@ static int Open( vlc_object_t * p_this )
}
}
#endif
return
VLC_SUCCESS
;
}
...
...
@@ -725,7 +727,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case
ACCESS_GET_PTS_DELAY
:
pi_64
=
(
int64_t
*
)
va_arg
(
args
,
int64_t
*
);
*
pi_64
=
1000000
;
*
pi_64
=
(
int64_t
)
var_GetInteger
(
p_access
,
"pvr-caching"
)
*
I64C
(
1000
)
;
break
;
/* */
...
...
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