[155/906] fix some errors and check all the pipelines listed in tests/pipelines

This commit is contained in:
Julien Isorce 2008-08-13 16:01:21 +02:00 committed by Matthew Waters
parent 4fc5dab530
commit 8e8a9b8fd5
4 changed files with 89 additions and 72 deletions

View file

@ -1,5 +1,22 @@
known issues:
-
- gst-launch-0.10 videotestsrc ! glupload ! gldownload ! glimagesink
(or glcolorspace instead of glupload ! gldownload)
-> crash on linux when stopping (num_buffers=N or after clicking on the window cross)
(was working on win32)
(gst-launch-0.10 videotestsrc ! glupload ! gldownload ! glupload ! gldownload ! glupload ! gldownload ! ximagesink
crash when stopping)
(but not gst-launch-0.10 videotestsrc ! glupload ! gldownload ! glupload ! gldownload ! ximagesink)
log: ( Définition du pipeline à READY (prêt)...
Context 1 destroyed
Définition du pipeline à NULL...
Caught SIGSEGV accessing address 0x40 )
- gst-launch-0.10 videotestsrc ! tee name=t t. ! queue ! glimagesink t. ! queue ! glimagesink t. ! queue ! glimagesink
-> crash on linux when stopping (was working on win32 too)
It look likes it's related to the first issue.
- gst-launch-0.10 videotestsrc ! "video/x-raw-yuv, format=(fourcc)YV12" ! glimagesink
-> wrong color on linux (it look likes it uses text_shader_upload_I420 instead of YV12)
(I remember it was working on win32, so maybe we have made a regression)

View file

@ -195,7 +195,7 @@ gst_gl_colorscale_transform_caps (GstBaseTransform* bt,
const GValue* framerate_value = NULL;
const GValue* par_value = NULL;
GST_ERROR ("transform caps %" GST_PTR_FORMAT, caps);
GST_DEBUG ("transform caps %" GST_PTR_FORMAT, caps);
framerate_value = gst_structure_get_value (structure, "framerate");
par_value = gst_structure_get_value (structure, "pixel-aspect-ratio");
@ -218,7 +218,7 @@ gst_gl_colorscale_transform_caps (GstBaseTransform* bt,
gst_caps_merge_structure (newcaps, gst_structure_copy (structure));
GST_ERROR ("new caps %" GST_PTR_FORMAT, newcaps);
GST_DEBUG ("new caps %" GST_PTR_FORMAT, newcaps);
return newcaps;
}

View file

@ -194,7 +194,7 @@ gst_gl_download_transform_caps (GstBaseTransform * bt,
download = GST_GL_DOWNLOAD (bt);
GST_ERROR ("transform caps %" GST_PTR_FORMAT, caps);
GST_DEBUG ("transform caps %" GST_PTR_FORMAT, caps);
structure = gst_caps_get_structure (caps, 0);
@ -230,7 +230,7 @@ gst_gl_download_transform_caps (GstBaseTransform * bt,
gst_structure_set (newstruct, "pixel-aspect-ratio", GST_TYPE_FRACTION,
1, 1, NULL);
GST_ERROR ("new caps %" GST_PTR_FORMAT, newcaps);
GST_DEBUG ("new caps %" GST_PTR_FORMAT, newcaps);
return newcaps;
}

View file

@ -304,11 +304,11 @@ static void
gst_gl_effects_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec)
{
GstGLEffects *effects = GST_GL_EFFECTS (object);
//GstGLEffects *effects = GST_GL_EFFECTS (object);
switch (prop_id) {
case PROP_EFFECT:
gst_gl_effects_set_effect (effects, g_value_get_enum (value));
//gst_gl_effects_set_effect (effects, g_value_get_enum (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);