mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 06:58:49 +00:00
DOH! (yes, I'm a moron)
Original commit message from CVS: DOH! (yes, I'm a moron)
This commit is contained in:
parent
d1dcf80a9f
commit
b0e9998114
1 changed files with 7 additions and 7 deletions
|
@ -442,7 +442,7 @@ done:
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_avimux_pad_connect (GstPad *pad,
|
gst_avimux_pad_link (GstPad *pad,
|
||||||
GstPad *peer,
|
GstPad *peer,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
|
@ -531,7 +531,7 @@ gst_avimux_request_new_pad (GstElement *element,
|
||||||
}
|
}
|
||||||
|
|
||||||
g_signal_connect(newpad, "linked",
|
g_signal_connect(newpad, "linked",
|
||||||
G_CALLBACK(gst_avimux_pad_connect), (gpointer)avimux);
|
G_CALLBACK(gst_avimux_pad_link), (gpointer)avimux);
|
||||||
g_signal_connect(newpad, "unlinked",
|
g_signal_connect(newpad, "unlinked",
|
||||||
G_CALLBACK(gst_avimux_pad_unlink), (gpointer)avimux);
|
G_CALLBACK(gst_avimux_pad_unlink), (gpointer)avimux);
|
||||||
gst_pad_set_link_function (newpad, gst_avimux_sinkconnect);
|
gst_pad_set_link_function (newpad, gst_avimux_sinkconnect);
|
||||||
|
@ -925,7 +925,7 @@ gst_avimux_start_file (GstAviMux *avimux)
|
||||||
avimux->idx = NULL;
|
avimux->idx = NULL;
|
||||||
|
|
||||||
/* header */
|
/* header */
|
||||||
avimux->avi_hdr.streams = avimux->video_pad_connected?1:0 + avimux->audio_pad_connected?1:0;
|
avimux->avi_hdr.streams = (avimux->video_pad_connected?1:0) + (avimux->audio_pad_connected?1:0);
|
||||||
avimux->is_bigfile = FALSE;
|
avimux->is_bigfile = FALSE;
|
||||||
|
|
||||||
header = gst_avimux_riff_get_avi_header(avimux);
|
header = gst_avimux_riff_get_avi_header(avimux);
|
||||||
|
|
Loading…
Reference in a new issue