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
09ba73c7
Commit
09ba73c7
authored
Mar 10, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* input, stream_output: handle sout_instance_t->p_meta.
parent
0afa4317
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
src/input/input.c
src/input/input.c
+8
-1
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+9
-1
No files found.
src/input/input.c
View file @
09ba73c7
...
...
@@ -899,7 +899,14 @@ static int InitThread( input_thread_t * p_input )
}
if
(
p_playlist
)
vlc_object_release
(
p_playlist
);
vlc_meta_Delete
(
meta
);
if
(
p_input
->
stream
.
p_sout
&&
p_input
->
stream
.
p_sout
->
p_meta
==
NULL
)
{
p_input
->
stream
.
p_sout
->
p_meta
=
meta
;
}
else
{
vlc_meta_Delete
(
meta
);
}
}
/* get length */
...
...
src/stream_output/stream_output.c
View file @
09ba73c7
...
...
@@ -31,8 +31,10 @@
#include <string.h>
/* strerror() */
#include <vlc/vlc.h>
#include <vlc/sout.h>
#include "vlc_meta.h"
#undef DEBUG_BUFFER
/*****************************************************************************
* Local prototypes
...
...
@@ -117,6 +119,7 @@ sout_instance_t * __sout_NewInstance ( vlc_object_t *p_parent,
/* *** init descriptor *** */
p_sout
->
psz_sout
=
strdup
(
psz_dest
);
p_sout
->
p_meta
=
NULL
;
p_sout
->
i_preheader
=
0
;
p_sout
->
i_padding
=
0
;
p_sout
->
i_out_pace_nocontrol
=
0
;
...
...
@@ -162,6 +165,11 @@ void sout_DeleteInstance( sout_instance_t * p_sout )
FREE
(
p_sout
->
psz_sout
);
FREE
(
p_sout
->
psz_chain
);
if
(
p_sout
->
p_meta
)
{
vlc_meta_Delete
(
p_sout
->
p_meta
);
}
sout_stream_delete
(
p_sout
->
p_stream
);
vlc_mutex_destroy
(
&
p_sout
->
lock
);
...
...
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