Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
dfe5da7f
Commit
dfe5da7f
authored
Mar 07, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow seeking
parent
a7ffa80a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/demux/xa.c
modules/demux/xa.c
+4
-5
No files found.
modules/demux/xa.c
View file @
dfe5da7f
...
...
@@ -117,7 +117,7 @@ static int Open( vlc_object_t * p_this )
p_sys
->
fmt
.
audio
.
i_channels
=
GetWLE
(
&
p_xa
.
nChannels
);
p_sys
->
fmt
.
audio
.
i_blockalign
=
p_sys
->
fmt
.
audio
.
i_bytes_per_frame
;
p_sys
->
fmt
.
audio
.
i_bitspersample
=
4
;
p_sys
->
fmt
.
audio
.
i_bitspersample
=
16
;
p_sys
->
fmt
.
i_bitrate
=
(
p_sys
->
fmt
.
audio
.
i_rate
*
p_sys
->
fmt
.
audio
.
i_bytes_per_frame
*
8
)
/
p_sys
->
fmt
.
audio
.
i_frame_length
;
...
...
@@ -196,10 +196,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
if
(
i_query
==
DEMUX_SET_POSITION
)
return
-
1
;
/* FIXME: progressive encoding - seeking not supported */
return
demux2_vaControlHelper
(
p_demux
->
s
,
0
,
-
1
,
return
demux2_vaControlHelper
(
p_demux
->
s
,
p_sys
->
i_data_offset
,
p_sys
->
i_data_size
?
p_sys
->
i_data_offset
+
p_sys
->
i_data_size
:
-
1
,
p_sys
->
fmt
.
i_bitrate
,
p_sys
->
fmt
.
audio
.
i_blockalign
,
i_query
,
args
);
...
...
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