summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2005-09-09 17:53:47 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2005-09-09 17:53:47 +0000
commit37fb8d01e134da94d3819ea6ab59dc8a647cf118 (patch)
tree414fd3f1e591072887accd0106ba97a3bd137893 /gst
parent0b31be8a04505aff53c1b0407dd1e3f65dcefa72 (diff)
downloadgst-plugins-bad-37fb8d01e134da94d3819ea6ab59dc8a647cf118.tar.gz
gst-plugins-bad-37fb8d01e134da94d3819ea6ab59dc8a647cf118.tar.bz2
gst-plugins-bad-37fb8d01e134da94d3819ea6ab59dc8a647cf118.zip
check/: Add extra tests for basetransform based components.
Original commit message from CVS: * check/Makefile.am: * check/pipelines/simple_launch_lines.c: (setup_pipeline), (run_pipeline), (GST_START_TEST), (simple_launch_lines_suite): Add extra tests for basetransform based components. Comment out the test_element_negotiation test until we decide if it's testing correct behaviour. * ext/libvisual/visual.c: (gst_visual_init), (get_buffer), (gst_visual_chain), (gst_visual_change_state): Slightly more correct but still bogus timestamping. Fix state change function. * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_class_init): * gst/audioresample/gstaudioresample.c: * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_class_init): * gst/videoscale/gstvideoscale.c: (gst_videoscale_class_init), (gst_videoscale_prepare_size), (gst_videoscale_set_caps), (gst_videoscale_prepare_image): * gst/volume/gstvolume.c: (gst_volume_class_init), (volume_transform_ip): Basetransform updates. Enable passthrough modes. * sys/ximage/ximagesink.c: (gst_ximage_buffer_init), (gst_ximagesink_renegotiate_size), (gst_ximagesink_xcontext_get), (gst_ximagesink_setcaps), (gst_ximagesink_buffer_alloc): Negotiation fix that allows the window to return to the original size and renegotiate passthrough upstream. Extra debug output.
Diffstat (limited to 'gst')
-rw-r--r--gst/audioresample/gstaudioresample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c
index e3bdba67..1d11856e 100644
--- a/gst/audioresample/gstaudioresample.c
+++ b/gst/audioresample/gstaudioresample.c
@@ -145,6 +145,8 @@ static void gst_audioresample_class_init (GstAudioresampleClass * klass)
GST_DEBUG_FUNCPTR (audioresample_set_caps);
GST_BASE_TRANSFORM_CLASS (klass)->transform =
GST_DEBUG_FUNCPTR (audioresample_transform);
+
+ GST_BASE_TRANSFORM_CLASS (klass)->passthrough_on_same_caps = TRUE;
}
static void gst_audioresample_init (GstAudioresample * audioresample,