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
d15101ee
Commit
d15101ee
authored
Oct 07, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics.
parent
41bacf4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
10 deletions
+21
-10
src/input/decoder.c
src/input/decoder.c
+21
-10
No files found.
src/input/decoder.c
View file @
d15101ee
...
@@ -57,6 +57,8 @@ static int DecoderProcess( decoder_t *, block_t * );
...
@@ -57,6 +57,8 @@ static int DecoderProcess( decoder_t *, block_t * );
static
void
DecoderOutputChangePause
(
decoder_t
*
,
bool
b_paused
,
mtime_t
i_date
);
static
void
DecoderOutputChangePause
(
decoder_t
*
,
bool
b_paused
,
mtime_t
i_date
);
static
void
DecoderFlush
(
decoder_t
*
);
static
void
DecoderFlush
(
decoder_t
*
);
static
void
DecoderUnsupportedCodec
(
decoder_t
*
,
vlc_fourcc_t
);
/* Buffers allocation callbacks for the decoders */
/* Buffers allocation callbacks for the decoders */
static
aout_buffer_t
*
aout_new_buffer
(
decoder_t
*
,
int
);
static
aout_buffer_t
*
aout_new_buffer
(
decoder_t
*
,
int
);
static
void
aout_del_buffer
(
decoder_t
*
,
aout_buffer_t
*
);
static
void
aout_del_buffer
(
decoder_t
*
,
aout_buffer_t
*
);
...
@@ -130,16 +132,9 @@ struct decoder_owner_sys_t
...
@@ -130,16 +132,9 @@ struct decoder_owner_sys_t
mtime_t
i_ts_delay
;
mtime_t
i_ts_delay
;
};
};
/* */
/*****************************************************************************
static
void
DecoderUnsupportedCodec
(
decoder_t
*
p_dec
,
vlc_fourcc_t
codec
)
* Public functions
{
*****************************************************************************/
msg_Err
(
p_dec
,
"no suitable decoder module for fourcc `%4.4s'.
\n
"
"VLC probably does not support this sound or video format."
,
(
char
*
)
&
codec
);
intf_UserFatal
(
p_dec
,
false
,
_
(
"No suitable decoder module"
),
_
(
"VLC does not support the audio or video format
\"
%4.4s
\"
. "
"Unfortunately there is no way for you to fix this."
),
(
char
*
)
&
codec
);
}
/* decoder_GetInputAttachment:
/* decoder_GetInputAttachment:
*/
*/
...
@@ -505,6 +500,22 @@ void input_DecoderStopBuffering( decoder_t *p_dec )
...
@@ -505,6 +500,22 @@ void input_DecoderStopBuffering( decoder_t *p_dec )
{
{
}
}
/*****************************************************************************
* Internal functions
*****************************************************************************/
/* */
static
void
DecoderUnsupportedCodec
(
decoder_t
*
p_dec
,
vlc_fourcc_t
codec
)
{
msg_Err
(
p_dec
,
"no suitable decoder module for fourcc `%4.4s'.
\n
"
"VLC probably does not support this sound or video format."
,
(
char
*
)
&
codec
);
intf_UserFatal
(
p_dec
,
false
,
_
(
"No suitable decoder module"
),
_
(
"VLC does not support the audio or video format
\"
%4.4s
\"
. "
"Unfortunately there is no way for you to fix this."
),
(
char
*
)
&
codec
);
}
/**
/**
* Create a decoder object
* Create a decoder object
*
*
...
...
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