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
6db5caef
Commit
6db5caef
authored
Oct 13, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sanitize input headers (pass 1).
parent
0653497b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
58 additions
and
22 deletions
+58
-22
src/Makefile.am
src/Makefile.am
+3
-2
src/input/clock.c
src/input/clock.c
+2
-2
src/input/clock.h
src/input/clock.h
+0
-0
src/input/decoder.c
src/input/decoder.c
+2
-2
src/input/decoder.h
src/input/decoder.h
+1
-1
src/input/es_out.c
src/input/es_out.c
+3
-2
src/input/es_out.h
src/input/es_out.h
+46
-0
src/input/input.c
src/input/input.c
+1
-0
src/input/input_internal.h
src/input/input_internal.h
+0
-13
No files found.
src/Makefile.am
View file @
6db5caef
...
...
@@ -306,8 +306,9 @@ SOURCES_libvlc_common = \
input/es_out.c
\
input/input.c
\
input/meta.c
\
input/input_clock.h
\
input/input_decoder.h
\
input/clock.h
\
input/decoder.h
\
input/es_out.h
\
input/input_internal.h
\
input/vlm_internal.h
\
input/stream.c
\
...
...
src/input/clock.c
View file @
6db5caef
/*****************************************************************************
*
input_
clock.c: Clock/System date convertions, stream management
* clock.c: Clock/System date convertions, stream management
*****************************************************************************
* Copyright (C) 1999-2008 the VideoLAN team
* Copyright (C) 2008 Laurent Aimar
...
...
@@ -32,7 +32,7 @@
#include <vlc_common.h>
#include <vlc_input.h>
#include "
input_
clock.h"
#include "clock.h"
/* TODO:
* - clean up locking once clock code is stable
...
...
src/input/
input_
clock.h
→
src/input/clock.h
View file @
6db5caef
File moved
src/input/decoder.c
View file @
6db5caef
...
...
@@ -44,8 +44,8 @@
#include "audio_output/aout_internal.h"
#include "stream_output/stream_output.h"
#include "input_internal.h"
#include "
input_
clock.h"
#include "
input_
decoder.h"
#include "clock.h"
#include "decoder.h"
#include "../video_output/vout_internal.h"
...
...
src/input/
input_
decoder.h
→
src/input/decoder.h
View file @
6db5caef
/*****************************************************************************
*
input_
decoder.h: Input decoder functions
* decoder.h: Input decoder functions
*****************************************************************************
* Copyright (C) 1998-2008 the VideoLAN team
* Copyright (C) 2008 Laurent Aimar
...
...
src/input/es_out.c
View file @
6db5caef
...
...
@@ -39,8 +39,9 @@
#include <vlc_aout.h>
#include "input_internal.h"
#include "input_clock.h"
#include "input_decoder.h"
#include "clock.h"
#include "decoder.h"
#include "es_out.h"
#include "../stream_output/stream_output.h"
...
...
src/input/es_out.h
0 → 100644
View file @
6db5caef
/*****************************************************************************
* es_out.h: Input es_out functions
*****************************************************************************
* Copyright (C) 1998-2008 the VideoLAN team
* Copyright (C) 2008 Laurent Aimar
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef _INPUT_ES_OUT_H
#define _INPUT_ES_OUT_H 1
#include <vlc_common.h>
es_out_t
*
input_EsOutNew
(
input_thread_t
*
,
int
i_rate
);
void
input_EsOutDelete
(
es_out_t
*
);
es_out_id_t
*
input_EsOutGetFromID
(
es_out_t
*
,
int
i_id
);
mtime_t
input_EsOutGetWakeup
(
es_out_t
*
);
void
input_EsOutSetDelay
(
es_out_t
*
,
int
i_cat
,
int64_t
);
int
input_EsOutSetRecord
(
es_out_t
*
,
bool
b_record
);
void
input_EsOutChangeRate
(
es_out_t
*
,
int
);
void
input_EsOutChangePause
(
es_out_t
*
,
bool
b_paused
,
mtime_t
i_date
);
void
input_EsOutChangePosition
(
es_out_t
*
);
bool
input_EsOutDecodersIsEmpty
(
es_out_t
*
);
bool
input_EsOutIsBuffering
(
es_out_t
*
);
#endif
src/input/input.c
View file @
6db5caef
...
...
@@ -36,6 +36,7 @@
#include <assert.h>
#include "input_internal.h"
#include "es_out.h"
#include <vlc_sout.h>
#include "../stream_output/stream_output.h"
...
...
src/input/input_internal.h
View file @
6db5caef
...
...
@@ -327,19 +327,6 @@ void stream_AccessDelete( stream_t *s );
void
stream_AccessReset
(
stream_t
*
s
);
void
stream_AccessUpdate
(
stream_t
*
s
);
/* es_out.c */
es_out_t
*
input_EsOutNew
(
input_thread_t
*
,
int
i_rate
);
void
input_EsOutDelete
(
es_out_t
*
);
es_out_id_t
*
input_EsOutGetFromID
(
es_out_t
*
,
int
i_id
);
mtime_t
input_EsOutGetWakeup
(
es_out_t
*
);
void
input_EsOutSetDelay
(
es_out_t
*
,
int
i_cat
,
int64_t
);
int
input_EsOutSetRecord
(
es_out_t
*
,
bool
b_record
);
void
input_EsOutChangeRate
(
es_out_t
*
,
int
);
void
input_EsOutChangePause
(
es_out_t
*
,
bool
b_paused
,
mtime_t
i_date
);
void
input_EsOutChangePosition
(
es_out_t
*
);
bool
input_EsOutDecodersIsEmpty
(
es_out_t
*
);
bool
input_EsOutIsBuffering
(
es_out_t
*
);
/* Subtitles */
char
**
subtitles_Detect
(
input_thread_t
*
,
char
*
path
,
const
char
*
fname
);
int
subtitles_Filter
(
const
char
*
);
...
...
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