Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
d15101ee
Commit
d15101ee
authored
Oct 07, 2008
by
Laurent Aimar
Browse files
Cosmetics.
parent
41bacf4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/decoder.c
View file @
d15101ee
...
...
@@ -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
DecoderFlush
(
decoder_t
*
);
static
void
DecoderUnsupportedCodec
(
decoder_t
*
,
vlc_fourcc_t
);
/* Buffers allocation callbacks for the decoders */
static
aout_buffer_t
*
aout_new_buffer
(
decoder_t
*
,
int
);
static
void
aout_del_buffer
(
decoder_t
*
,
aout_buffer_t
*
);
...
...
@@ -130,16 +132,9 @@ struct decoder_owner_sys_t
mtime_t
i_ts_delay
;
};
/* */
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
);
}
/*****************************************************************************
* Public functions
*****************************************************************************/
/* decoder_GetInputAttachment:
*/
...
...
@@ -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
*
...
...
Write
Preview
Supports
Markdown
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