input2.input = NULL;
input2.input =
g_list_append (input2.input, gst_event_new_stream_start ("test-2"));
- caps = gst_caps_from_string
- ("audio/mpeg, rate=(int)44100, channels=(int)1, mpegversion=(int)4, "
- "stream-format=(string)raw, framed=(boolean)true");
+ caps = gst_caps_from_string (AUDIO_AAC_CAPS_STRING);
input2.input = g_list_append (input2.input, gst_event_new_caps (caps));
gst_caps_unref (caps);
gst_segment_init (&input2.segment, GST_FORMAT_TIME);
input2.input = NULL;
input2.input =
g_list_append (input2.input, gst_event_new_stream_start ("test-2"));
- caps = gst_caps_from_string
- ("audio/mpeg, rate=(int)44100, channels=(int)1, mpegversion=(int)4, "
- "stream-format=(string)raw, framed=(boolean)true");
+ caps = gst_caps_from_string (AUDIO_AAC_CAPS_STRING);
input2.input = g_list_append (input2.input, gst_event_new_caps (caps));
gst_caps_unref (caps);
gst_segment_init (&input2.segment, GST_FORMAT_TIME);
input2.input = NULL;
input2.input =
g_list_append (input2.input, gst_event_new_stream_start ("test-2"));
- caps = gst_caps_from_string
- ("audio/mpeg, rate=(int)44100, channels=(int)1, mpegversion=(int)4, "
- "stream-format=(string)raw, framed=(boolean)true");
+ caps = gst_caps_from_string (AUDIO_AAC_CAPS_STRING);
input2.input = g_list_append (input2.input, gst_event_new_caps (caps));
gst_caps_unref (caps);
gst_segment_init (&input2.segment, GST_FORMAT_TIME);
input2.input = NULL;
input2.input =
g_list_append (input2.input, gst_event_new_stream_start ("test-2"));
- caps = gst_caps_from_string
- ("audio/mpeg, rate=(int)44100, channels=(int)1, mpegversion=(int)4, "
- "stream-format=(string)raw, framed=(boolean)true");
+ caps = gst_caps_from_string (AUDIO_AAC_CAPS_STRING);
input2.input = g_list_append (input2.input, gst_event_new_caps (caps));
gst_caps_unref (caps);
gst_segment_init (&input2.segment, GST_FORMAT_TIME);
input2.input = NULL;
input2.input =
g_list_append (input2.input, gst_event_new_stream_start ("test-2"));
- caps = gst_caps_from_string
- ("audio/mpeg, rate=(int)44100, channels=(int)1, mpegversion=(int)4, "
- "stream-format=(string)raw, framed=(boolean)true");
+ caps = gst_caps_from_string (AUDIO_AAC_CAPS_STRING);
input2.input = g_list_append (input2.input, gst_event_new_caps (caps));
gst_caps_unref (caps);
gst_segment_init (&input2.segment, GST_FORMAT_TIME);