mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
avmux: fix remaining warnings
https://bugzilla.gnome.org/show_bug.cgi?id=792900
This commit is contained in:
parent
066acfa922
commit
3e8709d21a
1 changed files with 3 additions and 3 deletions
|
@ -160,7 +160,7 @@ gst_ffmpegmux_get_replacement (const char *name)
|
||||||
{"mp3", "id3v2mux"},
|
{"mp3", "id3v2mux"},
|
||||||
{"mp2", "id3v2mux"}
|
{"mp2", "id3v2mux"}
|
||||||
};
|
};
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
for (i = 0; i < sizeof (blacklist) / sizeof (blacklist[0]); i++) {
|
for (i = 0; i < sizeof (blacklist) / sizeof (blacklist[0]); i++) {
|
||||||
if (strcmp (blacklist[i].name, name) == 0) {
|
if (strcmp (blacklist[i].name, name) == 0) {
|
||||||
|
@ -569,7 +569,7 @@ gst_ffmpegmux_collected (GstCollectPads * pads, gpointer user_data)
|
||||||
if (st->codecpar->codec_id == AV_CODEC_ID_NONE) {
|
if (st->codecpar->codec_id == AV_CODEC_ID_NONE) {
|
||||||
GST_ELEMENT_ERROR (ffmpegmux, CORE, NEGOTIATION, (NULL),
|
GST_ELEMENT_ERROR (ffmpegmux, CORE, NEGOTIATION, (NULL),
|
||||||
("no caps set on stream %d (%s)", collect_pad->padnum,
|
("no caps set on stream %d (%s)", collect_pad->padnum,
|
||||||
(st->codec->codec_type == AVMEDIA_TYPE_VIDEO) ?
|
(st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) ?
|
||||||
"video" : "audio"));
|
"video" : "audio"));
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
@ -840,7 +840,7 @@ gst_ffmpeg_mux_simple_caps_set_int_list (GstCaps * caps, const gchar * field,
|
||||||
{
|
{
|
||||||
GValue list = { 0, };
|
GValue list = { 0, };
|
||||||
GValue val = { 0, };
|
GValue val = { 0, };
|
||||||
gint i;
|
guint i;
|
||||||
|
|
||||||
g_return_if_fail (GST_CAPS_IS_SIMPLE (caps));
|
g_return_if_fail (GST_CAPS_IS_SIMPLE (caps));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue