Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
a7a52906
Commit
a7a52906
authored
Sep 18, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Last bit of cleanup in transcode_osd_new()
parent
5311f17a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+3
-4
No files found.
modules/stream_out/transcode.c
View file @
a7a52906
...
...
@@ -2809,7 +2809,6 @@ static void spu_del_buffer( decoder_t *p_dec, subpicture_t *p_subpic )
static
int
transcode_osd_new
(
sout_stream_t
*
p_stream
,
sout_stream_id_t
*
id
)
{
sout_stream_sys_t
*
p_sys
=
p_stream
->
p_sys
;
es_format_t
fmt
;
id
->
p_decoder
->
fmt_in
.
i_cat
=
SPU_ES
;
id
->
p_encoder
->
fmt_out
.
psz_language
=
strdup
(
"osd"
);
...
...
@@ -2817,7 +2816,7 @@ static int transcode_osd_new( sout_stream_t *p_stream, sout_stream_id_t *id )
if
(
p_sys
->
i_osdcodec
!=
0
||
p_sys
->
psz_osdenc
)
{
msg_Dbg
(
p_stream
,
"creating osdmenu transcoding from fcc=`%4.4s' "
"to fcc=`%4.4s'"
,
(
char
*
)
&
fm
t
.
i_codec
,
"to fcc=`%4.4s'"
,
(
char
*
)
&
id
->
p_encoder
->
fmt_ou
t
.
i_codec
,
(
char
*
)
&
p_sys
->
i_osdcodec
);
/* Complete destination format */
...
...
@@ -2848,8 +2847,8 @@ static int transcode_osd_new( sout_stream_t *p_stream, sout_stream_id_t *id )
else
{
msg_Dbg
(
p_stream
,
"not transcoding a stream (fcc=`%4.4s')"
,
(
char
*
)
&
fm
t
.
i_codec
);
id
->
id
=
p_sys
->
p_out
->
pf_add
(
p_sys
->
p_out
,
&
fm
t
);
(
char
*
)
&
id
->
p_decoder
->
fmt_ou
t
.
i_codec
);
id
->
id
=
p_sys
->
p_out
->
pf_add
(
p_sys
->
p_out
,
&
id
->
p_decoder
->
fmt_ou
t
);
id
->
b_transcode
=
VLC_FALSE
;
if
(
!
id
->
id
)
goto
error
;
...
...
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