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
85ed45c9
Commit
85ed45c9
authored
Nov 21, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/mux/ogg.c: send the mp4v VOL data in one of the header ogg packets.
parent
662af912
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
modules/mux/ogg.c
modules/mux/ogg.c
+17
-1
No files found.
modules/mux/ogg.c
View file @
85ed45c9
...
...
@@ -2,7 +2,7 @@
* ogg.c: ogg muxer module for vlc
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: ogg.c,v 1.
19 2003/10/22 17:12:30
gbazin Exp $
* $Id: ogg.c,v 1.
20 2003/11/21 13:01:05
gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -707,6 +707,22 @@ static sout_buffer_t *OggCreateHeader( sout_mux_t *p_mux, mtime_t i_dts )
p_og
=
OggStreamFlush
(
p_mux
,
&
p_stream
->
os
,
0
);
sout_BufferChain
(
&
p_hdr
,
p_og
);
}
/* Special case for mp4v */
if
(
p_stream
->
i_fourcc
==
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'v'
)
&&
p_mux
->
pp_inputs
[
i
]
->
p_fmt
->
i_extra_data
)
{
/* Send a packet with the VOL data */
op
.
bytes
=
p_mux
->
pp_inputs
[
i
]
->
p_fmt
->
i_extra_data
;
op
.
packet
=
p_mux
->
pp_inputs
[
i
]
->
p_fmt
->
p_extra_data
;
op
.
b_o_s
=
0
;
op
.
e_o_s
=
0
;
op
.
granulepos
=
0
;
op
.
packetno
=
p_stream
->
i_packet_no
++
;
ogg_stream_packetin
(
&
p_stream
->
os
,
&
op
);
p_og
=
OggStreamFlush
(
p_mux
,
&
p_stream
->
os
,
0
);
sout_BufferChain
(
&
p_hdr
,
p_og
);
}
}
/* set HEADER flag */
...
...
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