mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
Merge remote-tracking branch 'origin/master' into 0.11
This commit is contained in:
commit
699677ed8a
20 changed files with 55 additions and 54 deletions
|
@ -203,6 +203,9 @@ gst_mse_finalize (GObject * object)
|
||||||
{
|
{
|
||||||
GstMSE *fs = GST_MSE (object);
|
GstMSE *fs = GST_MSE (object);
|
||||||
|
|
||||||
|
gst_object_unref (fs->srcpad);
|
||||||
|
gst_object_unref (fs->sinkpad_ref);
|
||||||
|
gst_object_unref (fs->sinkpad_test);
|
||||||
g_mutex_free (fs->lock);
|
g_mutex_free (fs->lock);
|
||||||
g_cond_free (fs->cond);
|
g_cond_free (fs->cond);
|
||||||
}
|
}
|
||||||
|
|
|
@ -491,7 +491,6 @@ gst_modplug_load_song (GstModPlug * modplug)
|
||||||
gst_caps_copy_nth (gst_pad_get_pad_template_caps (modplug->srcpad), 0);
|
gst_caps_copy_nth (gst_pad_get_pad_template_caps (modplug->srcpad), 0);
|
||||||
}
|
}
|
||||||
gst_pad_fixate_caps (modplug->srcpad, newcaps);
|
gst_pad_fixate_caps (modplug->srcpad, newcaps);
|
||||||
gst_pad_set_caps (modplug->srcpad, newcaps);
|
|
||||||
|
|
||||||
/* set up modplug to output the negotiated format */
|
/* set up modplug to output the negotiated format */
|
||||||
structure = gst_caps_get_structure (newcaps, 0);
|
structure = gst_caps_get_structure (newcaps, 0);
|
||||||
|
@ -499,6 +498,9 @@ gst_modplug_load_song (GstModPlug * modplug)
|
||||||
gst_structure_get_int (structure, "channels", &modplug->channel);
|
gst_structure_get_int (structure, "channels", &modplug->channel);
|
||||||
gst_structure_get_int (structure, "rate", &modplug->frequency);
|
gst_structure_get_int (structure, "rate", &modplug->frequency);
|
||||||
|
|
||||||
|
gst_pad_set_caps (modplug->srcpad, newcaps);
|
||||||
|
gst_caps_unref (newcaps);
|
||||||
|
|
||||||
modplug->read_samples = 1152;
|
modplug->read_samples = 1152;
|
||||||
modplug->read_bytes =
|
modplug->read_bytes =
|
||||||
modplug->read_samples * modplug->channel * modplug->bits / 8;
|
modplug->read_samples * modplug->channel * modplug->bits / 8;
|
||||||
|
|
|
@ -126,6 +126,7 @@ gst_opus_parse_stop (GstBaseParse * base)
|
||||||
GstOpusParse *parse = GST_OPUS_PARSE (base);
|
GstOpusParse *parse = GST_OPUS_PARSE (base);
|
||||||
|
|
||||||
g_slist_foreach (parse->headers, (GFunc) gst_buffer_unref, NULL);
|
g_slist_foreach (parse->headers, (GFunc) gst_buffer_unref, NULL);
|
||||||
|
g_slist_free (parse->headers);
|
||||||
parse->headers = NULL;
|
parse->headers = NULL;
|
||||||
|
|
||||||
parse->header_sent = FALSE;
|
parse->header_sent = FALSE;
|
||||||
|
@ -301,6 +302,7 @@ gst_opus_parse_parse_frame (GstBaseParse * base, GstBaseParseFrame * frame)
|
||||||
}
|
}
|
||||||
|
|
||||||
g_slist_foreach (parse->headers, (GFunc) gst_buffer_unref, NULL);
|
g_slist_foreach (parse->headers, (GFunc) gst_buffer_unref, NULL);
|
||||||
|
g_slist_free (parse->headers);
|
||||||
parse->headers = NULL;
|
parse->headers = NULL;
|
||||||
|
|
||||||
if (parse->id_header && parse->comment_header) {
|
if (parse->id_header && parse->comment_header) {
|
||||||
|
@ -322,6 +324,7 @@ gst_opus_parse_parse_frame (GstBaseParse * base, GstBaseParseFrame * frame)
|
||||||
gst_buffer_replace (&parse->comment_header, NULL);
|
gst_buffer_replace (&parse->comment_header, NULL);
|
||||||
|
|
||||||
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps);
|
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (parse), caps);
|
||||||
|
gst_caps_unref (caps);
|
||||||
parse->header_sent = TRUE;
|
parse->header_sent = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ struct _GstSchroDec
|
||||||
|
|
||||||
SchroDecoder *decoder;
|
SchroDecoder *decoder;
|
||||||
|
|
||||||
GstBuffer *seq_header_buffer;
|
gboolean seq_header_buffer_seen;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstSchroDecClass
|
struct _GstSchroDecClass
|
||||||
|
@ -308,8 +308,7 @@ parse_sequence_header (GstSchroDec * schro_dec, guint8 * data, int size)
|
||||||
|
|
||||||
state = gst_base_video_decoder_get_state (GST_BASE_VIDEO_DECODER (schro_dec));
|
state = gst_base_video_decoder_get_state (GST_BASE_VIDEO_DECODER (schro_dec));
|
||||||
|
|
||||||
schro_dec->seq_header_buffer = gst_buffer_new_and_alloc (size);
|
schro_dec->seq_header_buffer_seen = TRUE;
|
||||||
memcpy (GST_BUFFER_DATA (schro_dec->seq_header_buffer), data, size);
|
|
||||||
|
|
||||||
ret = schro_parse_decode_sequence_header (data + 13, size - 13,
|
ret = schro_parse_decode_sequence_header (data + 13, size - 13,
|
||||||
&video_format);
|
&video_format);
|
||||||
|
@ -462,7 +461,7 @@ gst_schro_dec_parse_data (GstBaseVideoDecoder * base_video_decoder,
|
||||||
g_free (data);
|
g_free (data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (schro_decoder->seq_header_buffer == NULL) {
|
if (!schro_decoder->seq_header_buffer_seen) {
|
||||||
gst_adapter_flush (base_video_decoder->input_adapter, next);
|
gst_adapter_flush (base_video_decoder->input_adapter, next);
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
|
@ -572,6 +571,8 @@ gst_schro_dec_process (GstSchroDec * schro_dec, gboolean eos)
|
||||||
|
|
||||||
schro_frame_unref (schro_frame);
|
schro_frame_unref (schro_frame);
|
||||||
}
|
}
|
||||||
|
if (tag)
|
||||||
|
schro_tag_free (tag);
|
||||||
if (!eos) {
|
if (!eos) {
|
||||||
go = FALSE;
|
go = FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,6 +101,7 @@ static GstFlowReturn gst_schro_enc_handle_frame (GstBaseVideoEncoder *
|
||||||
base_video_encoder, GstVideoFrame * frame);
|
base_video_encoder, GstVideoFrame * frame);
|
||||||
static GstFlowReturn gst_schro_enc_shape_output (GstBaseVideoEncoder *
|
static GstFlowReturn gst_schro_enc_shape_output (GstBaseVideoEncoder *
|
||||||
base_video_encoder, GstVideoFrame * frame);
|
base_video_encoder, GstVideoFrame * frame);
|
||||||
|
static void gst_schro_enc_finalize (GObject * object);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_schro_enc_sink_template =
|
static GstStaticPadTemplate gst_schro_enc_sink_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
|
@ -172,6 +173,7 @@ gst_schro_enc_class_init (GstSchroEncClass * klass)
|
||||||
|
|
||||||
gobject_class->set_property = gst_schro_enc_set_property;
|
gobject_class->set_property = gst_schro_enc_set_property;
|
||||||
gobject_class->get_property = gst_schro_enc_get_property;
|
gobject_class->get_property = gst_schro_enc_get_property;
|
||||||
|
gobject_class->finalize = gst_schro_enc_finalize;
|
||||||
|
|
||||||
for (i = 0; i < schro_encoder_get_n_settings (); i++) {
|
for (i = 0; i < schro_encoder_get_n_settings (); i++) {
|
||||||
const SchroEncoderSetting *setting;
|
const SchroEncoderSetting *setting;
|
||||||
|
@ -231,7 +233,22 @@ gst_schro_enc_init (GstSchroEnc * schro_enc, GstSchroEncClass * klass)
|
||||||
schro_enc->video_format = schro_encoder_get_video_format (schro_enc->encoder);
|
schro_enc->video_format = schro_encoder_get_video_format (schro_enc->encoder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
gst_schro_enc_finalize (GObject * object)
|
||||||
|
{
|
||||||
|
GstSchroEnc *schro_enc = GST_SCHRO_ENC (object);
|
||||||
|
|
||||||
|
if (schro_enc->encoder) {
|
||||||
|
schro_encoder_free (schro_enc->encoder);
|
||||||
|
schro_enc->encoder = NULL;
|
||||||
|
}
|
||||||
|
if (schro_enc->video_format) {
|
||||||
|
g_free (schro_enc->video_format);
|
||||||
|
schro_enc->video_format = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_schro_enc_set_format (GstBaseVideoEncoder * base_video_encoder,
|
gst_schro_enc_set_format (GstBaseVideoEncoder * base_video_encoder,
|
||||||
|
@ -423,17 +440,6 @@ gst_schro_enc_start (GstBaseVideoEncoder * base_video_encoder)
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_schro_enc_stop (GstBaseVideoEncoder * base_video_encoder)
|
gst_schro_enc_stop (GstBaseVideoEncoder * base_video_encoder)
|
||||||
{
|
{
|
||||||
GstSchroEnc *schro_enc = GST_SCHRO_ENC (base_video_encoder);
|
|
||||||
|
|
||||||
if (schro_enc->encoder) {
|
|
||||||
schro_encoder_free (schro_enc->encoder);
|
|
||||||
schro_enc->encoder = NULL;
|
|
||||||
}
|
|
||||||
if (schro_enc->video_format) {
|
|
||||||
g_free (schro_enc->video_format);
|
|
||||||
schro_enc->video_format = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -332,8 +332,10 @@ gst_mpeg_video_parse (const guint8 * data, gsize size, guint offset)
|
||||||
codoffsize->offset = gst_byte_reader_get_pos (&br) + offset;
|
codoffsize->offset = gst_byte_reader_get_pos (&br) + offset;
|
||||||
|
|
||||||
rsize = gst_byte_reader_get_remaining (&br);
|
rsize = gst_byte_reader_get_remaining (&br);
|
||||||
if (rsize <= 0)
|
if (rsize <= 0) {
|
||||||
|
g_free (codoffsize);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
off = scan_for_start_codes (&br, 0, rsize);
|
off = scan_for_start_codes (&br, 0, rsize);
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,7 @@ static gboolean gst_dccp_client_sink_stop (GstBaseSink * bsink);
|
||||||
static gboolean gst_dccp_client_sink_start (GstBaseSink * bsink);
|
static gboolean gst_dccp_client_sink_start (GstBaseSink * bsink);
|
||||||
static GstFlowReturn gst_dccp_client_sink_render (GstBaseSink * bsink,
|
static GstFlowReturn gst_dccp_client_sink_render (GstBaseSink * bsink,
|
||||||
GstBuffer * buf);
|
GstBuffer * buf);
|
||||||
|
static void gst_dccp_client_sink_finalize (GObject * gobject);
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (dccpclientsink_debug);
|
GST_DEBUG_CATEGORY_STATIC (dccpclientsink_debug);
|
||||||
|
|
||||||
|
@ -167,6 +168,16 @@ gst_dccp_client_sink_get_property (GObject * object, guint prop_id,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
gst_dccp_client_sink_finalize (GObject * gobject)
|
||||||
|
{
|
||||||
|
GstDCCPClientSink *this = GST_DCCP_CLIENT_SINK (gobject);
|
||||||
|
|
||||||
|
g_free (this->host);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->finalize (gobject);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Starts the element. If the sockfd property was not the default, this method
|
* Starts the element. If the sockfd property was not the default, this method
|
||||||
* will create a new socket and connect to the server.
|
* will create a new socket and connect to the server.
|
||||||
|
@ -276,6 +287,7 @@ gst_dccp_client_sink_class_init (GstDCCPClientSinkClass * klass)
|
||||||
|
|
||||||
gobject_class->set_property = gst_dccp_client_sink_set_property;
|
gobject_class->set_property = gst_dccp_client_sink_set_property;
|
||||||
gobject_class->get_property = gst_dccp_client_sink_get_property;
|
gobject_class->get_property = gst_dccp_client_sink_get_property;
|
||||||
|
gobject_class->finalize = gst_dccp_client_sink_finalize;
|
||||||
|
|
||||||
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
|
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
|
||||||
g_param_spec_int ("port", "Port",
|
g_param_spec_int ("port", "Port",
|
||||||
|
|
|
@ -166,6 +166,7 @@ gst_hls_demux_dispose (GObject * obj)
|
||||||
|
|
||||||
gst_hls_demux_reset (demux, TRUE);
|
gst_hls_demux_reset (demux, TRUE);
|
||||||
|
|
||||||
|
g_queue_free (demux->queue);
|
||||||
gst_object_unref (demux->download);
|
gst_object_unref (demux->download);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->dispose (obj);
|
G_OBJECT_CLASS (parent_class)->dispose (obj);
|
||||||
|
|
|
@ -156,11 +156,6 @@ static void
|
||||||
gst_inter_audio_sink_init (GstInterAudioSink * interaudiosink,
|
gst_inter_audio_sink_init (GstInterAudioSink * interaudiosink,
|
||||||
GstInterAudioSinkClass * interaudiosink_class)
|
GstInterAudioSinkClass * interaudiosink_class)
|
||||||
{
|
{
|
||||||
|
|
||||||
interaudiosink->sinkpad =
|
|
||||||
gst_pad_new_from_static_template (&gst_inter_audio_sink_sink_template,
|
|
||||||
"sink");
|
|
||||||
|
|
||||||
interaudiosink->surface = gst_inter_surface_get ("default");
|
interaudiosink->surface = gst_inter_surface_get ("default");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,8 +40,6 @@ struct _GstInterAudioSink
|
||||||
|
|
||||||
GstInterSurface *surface;
|
GstInterSurface *surface;
|
||||||
|
|
||||||
GstPad *sinkpad;
|
|
||||||
|
|
||||||
int fps_n;
|
int fps_n;
|
||||||
int fps_d;
|
int fps_d;
|
||||||
};
|
};
|
||||||
|
|
|
@ -166,10 +166,6 @@ gst_inter_audio_src_init (GstInterAudioSrc * interaudiosrc,
|
||||||
GstInterAudioSrcClass * interaudiosrc_class)
|
GstInterAudioSrcClass * interaudiosrc_class)
|
||||||
{
|
{
|
||||||
|
|
||||||
interaudiosrc->srcpad =
|
|
||||||
gst_pad_new_from_static_template (&gst_inter_audio_src_src_template,
|
|
||||||
"src");
|
|
||||||
|
|
||||||
gst_base_src_set_live (GST_BASE_SRC (interaudiosrc), TRUE);
|
gst_base_src_set_live (GST_BASE_SRC (interaudiosrc), TRUE);
|
||||||
gst_base_src_set_blocksize (GST_BASE_SRC (interaudiosrc), -1);
|
gst_base_src_set_blocksize (GST_BASE_SRC (interaudiosrc), -1);
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ struct _GstInterAudioSrc
|
||||||
{
|
{
|
||||||
GstBaseSrc base_interaudiosrc;
|
GstBaseSrc base_interaudiosrc;
|
||||||
|
|
||||||
GstPad *srcpad;
|
|
||||||
GstInterSurface *surface;
|
GstInterSurface *surface;
|
||||||
|
|
||||||
guint64 n_samples;
|
guint64 n_samples;
|
||||||
|
|
|
@ -150,11 +150,6 @@ static void
|
||||||
gst_inter_video_sink_init (GstInterVideoSink * intervideosink,
|
gst_inter_video_sink_init (GstInterVideoSink * intervideosink,
|
||||||
GstInterVideoSinkClass * intervideosink_class)
|
GstInterVideoSinkClass * intervideosink_class)
|
||||||
{
|
{
|
||||||
|
|
||||||
intervideosink->sinkpad =
|
|
||||||
gst_pad_new_from_static_template (&gst_inter_video_sink_sink_template,
|
|
||||||
"sink");
|
|
||||||
|
|
||||||
intervideosink->surface = gst_inter_surface_get ("default");
|
intervideosink->surface = gst_inter_surface_get ("default");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,8 +40,6 @@ struct _GstInterVideoSink
|
||||||
|
|
||||||
GstInterSurface *surface;
|
GstInterSurface *surface;
|
||||||
|
|
||||||
GstPad *sinkpad;
|
|
||||||
|
|
||||||
int fps_n;
|
int fps_n;
|
||||||
int fps_d;
|
int fps_d;
|
||||||
};
|
};
|
||||||
|
|
|
@ -163,11 +163,6 @@ static void
|
||||||
gst_inter_video_src_init (GstInterVideoSrc * intervideosrc,
|
gst_inter_video_src_init (GstInterVideoSrc * intervideosrc,
|
||||||
GstInterVideoSrcClass * intervideosrc_class)
|
GstInterVideoSrcClass * intervideosrc_class)
|
||||||
{
|
{
|
||||||
|
|
||||||
intervideosrc->srcpad =
|
|
||||||
gst_pad_new_from_static_template (&gst_inter_video_src_src_template,
|
|
||||||
"src");
|
|
||||||
|
|
||||||
gst_base_src_set_format (GST_BASE_SRC (intervideosrc), GST_FORMAT_TIME);
|
gst_base_src_set_format (GST_BASE_SRC (intervideosrc), GST_FORMAT_TIME);
|
||||||
gst_base_src_set_live (GST_BASE_SRC (intervideosrc), TRUE);
|
gst_base_src_set_live (GST_BASE_SRC (intervideosrc), TRUE);
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ struct _GstInterVideoSrc
|
||||||
{
|
{
|
||||||
GstBaseSrc base_intervideosrc;
|
GstBaseSrc base_intervideosrc;
|
||||||
|
|
||||||
GstPad *srcpad;
|
|
||||||
GstInterSurface *surface;
|
GstInterSurface *surface;
|
||||||
|
|
||||||
GstVideoFormat format;
|
GstVideoFormat format;
|
||||||
|
|
|
@ -147,12 +147,6 @@ static void
|
||||||
gst_patchdetect_init (GstPatchdetect * patchdetect,
|
gst_patchdetect_init (GstPatchdetect * patchdetect,
|
||||||
GstPatchdetectClass * patchdetect_class)
|
GstPatchdetectClass * patchdetect_class)
|
||||||
{
|
{
|
||||||
|
|
||||||
patchdetect->sinkpad =
|
|
||||||
gst_pad_new_from_static_template (&gst_patchdetect_sink_template, "sink");
|
|
||||||
|
|
||||||
patchdetect->srcpad =
|
|
||||||
gst_pad_new_from_static_template (&gst_patchdetect_src_template, "src");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -37,9 +37,6 @@ struct _GstPatchdetect
|
||||||
{
|
{
|
||||||
GstBaseTransform base_patchdetect;
|
GstBaseTransform base_patchdetect;
|
||||||
|
|
||||||
GstPad *sinkpad;
|
|
||||||
GstPad *srcpad;
|
|
||||||
|
|
||||||
GstVideoFormat format;
|
GstVideoFormat format;
|
||||||
int width;
|
int width;
|
||||||
int height;
|
int height;
|
||||||
|
|
|
@ -586,6 +586,9 @@ gst_y4m_dec_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
||||||
}
|
}
|
||||||
|
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
|
/* not sure why it's not forwarded, but let's unref it so it
|
||||||
|
doesn't leak, remove the unref if it gets forwarded again */
|
||||||
|
gst_event_unref (event);
|
||||||
//res = gst_pad_push_event (y4mdec->srcpad, event);
|
//res = gst_pad_push_event (y4mdec->srcpad, event);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -110,7 +110,7 @@ cleanup_opusenc (GstElement * opusenc)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
check_buffers (guint expected, gboolean headers_in_caps)
|
check_buffers (guint expected)
|
||||||
{
|
{
|
||||||
GstBuffer *outbuffer;
|
GstBuffer *outbuffer;
|
||||||
guint i, num_buffers;
|
guint i, num_buffers;
|
||||||
|
@ -152,7 +152,7 @@ GST_START_TEST (test_opus_id_header)
|
||||||
/* ... and nothing ends up on the global buffer list */
|
/* ... and nothing ends up on the global buffer list */
|
||||||
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
|
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
|
||||||
gst_buffer_unref (inbuffer);
|
gst_buffer_unref (inbuffer);
|
||||||
fail_unless (g_list_length (buffers) == 0);
|
check_buffers (0);
|
||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
cleanup_opusdec (opusdec);
|
cleanup_opusdec (opusdec);
|
||||||
|
@ -248,7 +248,7 @@ GST_START_TEST (test_opus_encode_samples)
|
||||||
"could not set to ready");
|
"could not set to ready");
|
||||||
|
|
||||||
/* default frame size is 20 ms, at 48000 Hz that's 960 samples */
|
/* default frame size is 20 ms, at 48000 Hz that's 960 samples */
|
||||||
check_buffers ((nsamples + 959) / 960, FALSE);
|
check_buffers ((nsamples + 959) / 960);
|
||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
cleanup_opusenc (opusenc);
|
cleanup_opusenc (opusenc);
|
||||||
|
@ -331,6 +331,8 @@ GST_START_TEST (test_opus_encode_properties)
|
||||||
/* change random parameters */
|
/* change random parameters */
|
||||||
g_object_set (opusenc, param_changes[step].param, param_changes[step].value,
|
g_object_set (opusenc, param_changes[step].param, param_changes[step].value,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
check_buffers (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
Loading…
Reference in a new issue