[gst-devel] GstBaseTransform caps not negotiated

Juan Escamilla kensanx at gmail.com
Tue Mar 11 01:46:11 CET 2008


Hello, I've been trying to do a very simple plugin. For the sake of learning
gstreamer I'm using fixated caps in the src and sink template/factory, so
I'm using either video/x-raw-yuv or a single value(not using ranges) for
format, width, height, etc. The error I'm receiving from what I understand
is that I'm not negotiating caps with the source side of my element for some
reason. I've been trying to trace where the gst_base_transform variable
trans->negotiated would be able to make it TRUE, but been unsuccesful. My
question is what does the variable trans->negotiated depend on to be TRUE?
or what am I missing in the overloaded functions that I'm not doing to
negotiate caps with the following element. I'm using the following pipeline
as a base to test my code:

gst-launch --gst-debug=*basetransform*:5 -v filesrc location=/tmp/mty.yuv
blocksize=614400 ! video/x-raw-yuv, format=\(fourcc\)YUY2, width=640,
height=480,framerate=0/1 ! scaler ! video/x-raw-yuv, format=\(fourcc\)YUY2,
width=320, height=240, framerate=0/1 ! filesink location=/tmp/mty-out.yuv

I've overloaded the following functions.
- transform_caps: Since I'm not going have a use case where I have the same
caps, in here I just declare a string pointer with the string of the
outgoing caps that I use in the pipeline above, turn them into
caps_from_string and return them.
- set_caps: Here I simply parse information from the caps that I need to
configure my scaler. At the end I return TRUE.
- transform_size: I calculate othersize with the output buffersize I'm
suppose to send. In this case, *othersize = 320 * 240 * 2; and then return
TRUE.
- transform: Here I try to pass some more information to my scaler and
process the image.
- get_unit_size: I calculate the unit size with the input buffersize I'm
suppose to receive. In this case, *size = 640 * 480 * 2; and then return
TRUE.
- fixate_caps: I figured I didn't need to use this function since I used
fixated caps in my template, and also in transform_caps I used single value
caps in the string before turning them into caps, and returned them. Still I
gave this a shot and I still get the error.

# gst-launch --gst-debug=*basetransform*:5 -v filesrc location=/tmp/mty.yuv
blocksize=614400 ! video/x-raw-yuv, format=\(fourcc\)YUY2, width=640,
height=480,framerate=0/1 ! scaler ! video/x-raw-yuv, format=\(fourcc\)YUY2,
width=320, height=240, framerate=0/1 ! filesink location=/tmp/mty-out.yuv
0:00:08.577546000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:356:gst_base_transform_init: gst_base_transform_init
0:00:08.584717000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:356:gst_base_transform_init: gst_base_transform_init
0:00:08.586243000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:407:gst_base_transform_init:<GstBaseTransform at 0x293130>
setting in_place TRUE
Working on sinkpad
0:00:08.588135000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<capsfilter0> returning
0x289220
Working on srcpad
0:00:08.589600000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<capsfilter0:src> peer
caps  0x11fc00
0:00:08.589997000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<capsfilter0:src> our
template  0x11fb40
0:00:08.590271000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<capsfilter0:src>
intersected 0x289260
0:00:08.590668000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<capsfilter0>
transform caps (direction = 2)
0:00:08.591034000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:440:gst_base_transform_transform_caps:<capsfilter0> from:
ANY
0:00:08.591462000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:442:gst_base_transform_transform_caps:<capsfilter0>   to:
0x2892a0
0:00:08.591889000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<capsfilter0> to:
(1) 0x289280
0:00:08.592133000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<capsfilter0:src>
transformed  0x289280
0:00:08.592530000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<capsfilter0:src> our
template  0x11fb20
0:00:08.592957000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<capsfilter0:src>
intersected 0x2892c0
0:00:08.593232000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<capsfilter0> returning
0x2892c0
Working on sinkpad
0:00:08.593811000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<scaler0> returning
0x2892e0
0:00:08.595459000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:356:gst_base_transform_init: gst_base_transform_init
0:00:08.597260000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:407:gst_base_transform_init:<GstBaseTransform at 0x2932c8>
setting in_place TRUE
Working on srcpad
Working on srcpad
0:00:08.599091000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<capsfilter0:src> peer
caps  0x11fc00
0:00:08.599518000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<capsfilter0:src> our
template  0x11fb40
0:00:08.599762000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<capsfilter0:src>
intersected 0x289380
0:00:08.600159000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<capsfilter0>
transform caps (direction = 2)
0:00:08.600525000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:440:gst_base_transform_transform_caps:<capsfilter0> from:
ANY
0:00:08.600983000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:442:gst_base_transform_transform_caps:<capsfilter0>   to:
0x2893c0
0:00:08.601258000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<capsfilter0> to:
(1) 0x2893a0
0:00:08.601624000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<capsfilter0:src>
transformed  0x2893a0
0:00:08.601899000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<capsfilter0:src> our
template  0x11fb20
0:00:08.602295000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<capsfilter0:src>
intersected 0x289400
0:00:08.602570000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<capsfilter0> returning
0x289400
0:00:08.602967000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<scaler0:src> peer caps
0x289400
0:00:08.603211000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<scaler0:src> our
template  0x71620
0:00:08.603699000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<scaler0:src> intersected
0x289420
0:00:08.604432000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<scaler0> transform
caps (direction = 2)
0:00:08.604889000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:453:gst_base_transform_transform_caps:<scaler0> from[0]:
0x289460
Input caps: video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640,
height=(int)480, framerate=(fraction)0/1
String used for output_caps: video/x-raw-yuv, format=(fourcc)YUY2,
width=(int)320, height=(int)240, framerate=(fraction)0/1
0:00:08.606293000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:456:gst_base_transform_transform_caps:<scaler0>   to[0]:
0x289480
0:00:08.606751000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:465:gst_base_transform_transform_caps:<scaler0> merged:
(1)
0:00:08.607148000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<scaler0> to: (1)
0x289440
0:00:08.607392000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<scaler0:src> transformed
0x289440
0:00:08.607788000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<scaler0:src> our
template  0x71600
0:00:08.608246000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<scaler0:src> intersected
0x2894a0
0:00:08.608673000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<scaler0> returning
0x2894a0
Working on sinkpad
0:00:08.609497000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<capsfilter1> returning
0x289500
Working on srcpad
Working on srcpad
Working on srcpad
0:00:08.611023000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<capsfilter0:src> peer
caps  0x11fc00
0:00:08.611390000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<capsfilter0:src> our
template  0x11fb40
0:00:08.611634000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<capsfilter0:src>
intersected 0x289540
0:00:08.612366000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<capsfilter0>
transform caps (direction = 2)
0:00:08.612732000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:440:gst_base_transform_transform_caps:<capsfilter0> from:
ANY
0:00:08.613160000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:442:gst_base_transform_transform_caps:<capsfilter0>   to:
0x289580
0:00:08.613434000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<capsfilter0> to:
(1) 0x289560
0:00:08.613800000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<capsfilter0:src>
transformed  0x289560
0:00:08.614197000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<capsfilter0:src> our
template  0x11fb20
0:00:08.614472000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<capsfilter0:src>
intersected 0x2895a0
0:00:08.614869000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<capsfilter0> returning
0x2895a0
0:00:08.615113000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<scaler0:src> peer caps
0x2895a0
0:00:08.615509000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<scaler0:src> our
template  0x71620
0:00:08.615845000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<scaler0:src> intersected
0x2895c0
0:00:08.616272000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<scaler0> transform
caps (direction = 2)
0:00:08.616669000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:453:gst_base_transform_transform_caps:<scaler0> from[0]:
0x289620
Input caps: video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640,
height=(int)480, framerate=(fraction)0/1
String used for output_caps: video/x-raw-yuv, format=(fourcc)YUY2,
width=(int)320, height=(int)240, framerate=(fraction)0/1
0:00:08.617646000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:456:gst_base_transform_transform_caps:<scaler0>   to[0]:
0x289640
0:00:08.617920000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:465:gst_base_transform_transform_caps:<scaler0> merged:
(1)
0:00:08.618164000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<scaler0> to: (1)
0x289600
0:00:08.618378000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<scaler0:src> transformed
0x289600
0:00:08.618622000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<scaler0:src> our
template  0x71600
0:00:08.619172000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<scaler0:src> intersected
0x289660
0:00:08.619446000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<scaler0> returning
0x289660
0:00:08.620087000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<capsfilter1:src> peer
caps  0x289660
0:00:08.620545000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<capsfilter1:src> our
template  0x11fb40
0:00:08.620819000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<capsfilter1:src>
intersected 0x2896c0
0:00:08.621247000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<capsfilter1>
transform caps (direction = 2)
0:00:08.621552000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:453:gst_base_transform_transform_caps:<capsfilter1>
from[0]: 0x289700
0:00:08.622071000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:456:gst_base_transform_transform_caps:<capsfilter1>
to[0]: 0x289720
0:00:08.622498000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:465:gst_base_transform_transform_caps:<capsfilter1>
merged: (1)
0:00:08.622742000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<capsfilter1> to:
(1) 0x2896e0
0:00:08.623108000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<capsfilter1:src>
transformed  0x2896e0
0:00:08.623383000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<capsfilter1:src> our
template  0x11fb20
0:00:08.623810000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<capsfilter1:src>
intersected 0x289740
0:00:08.624054000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<capsfilter1> returning
0x289740
Setting pipeline to PAUSED ...
active is TRUE
0:00:08.643982000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:1695:gst_base_transform_activate:<capsfilter1>
have_same_caps 0
active is TRUE
0:00:08.644867000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:1695:gst_base_transform_activate:<scaler0> have_same_caps
0
active is TRUE
0:00:08.645661000   497 0x150a0 DEBUG        basetransform
gstbasetransform.c:1695:gst_base_transform_activate:<capsfilter0>
have_same_caps 0
Pipeline is PREROLLING ...
0:00:08.662537000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:1299:gst_base_transform_sink_eventfunc:<capsfilter0>
received NEW_SEGMENT 0 -- 614400, time 0, accum 0
0:00:08.663178000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:1299:gst_base_transform_sink_eventfunc:<scaler0> received
NEW_SEGMENT 0 -- 614400, time 0, accum 0
0:00:08.663605000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:1299:gst_base_transform_sink_eventfunc:<capsfilter1>
received NEW_SEGMENT 0 -- 614400, time 0, accum 0
0:00:08.664490000   497 0x1d8f80 LOG          basetransform
gstbasetransform.c:1372:gst_base_transform_handle_buffer:<capsfilter0>
handling buffer 0x292a80 of size 614400 and offset 0
trans->negotiated is FALSE
trans->passthrough is FALSE
0:00:08.665253000   497 0x1d8f80 LOG          basetransform
gstbasetransform.c:1393:gst_base_transform_handle_buffer:<capsfilter0> got
DISCONT buffer 0x292a80
0:00:08.665650000   497 0x1d8f80 LOG          basetransform
gstbasetransform.c:1448:gst_base_transform_handle_buffer:<capsfilter0> doing
inplace transform
Working on srcpad
0:00:08.666291000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<capsfilter0:src> peer
caps  0x11fc00
0:00:08.666993000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<capsfilter0:src> our
template  0x11fb40
0:00:08.667420000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<capsfilter0:src>
intersected 0x289860
0:00:08.667908000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<capsfilter0>
transform caps (direction = 2)
0:00:08.668305000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:440:gst_base_transform_transform_caps:<capsfilter0> from:
ANY
0:00:08.668732000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:442:gst_base_transform_transform_caps:<capsfilter0>   to:
0x2898a0
0:00:08.669037000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<capsfilter0> to:
(1) 0x289880
0:00:08.669434000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<capsfilter0:src>
transformed  0x289880
0:00:08.669678000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<capsfilter0:src> our
template  0x11fb20
0:00:08.670105000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<capsfilter0:src>
intersected 0x2898c0
0:00:08.670350000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<capsfilter0> returning
0x2898c0
Working on sinkpad
Working on sinkpad
0:00:08.671265000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<capsfilter1:sink> peer
caps  0x11fca0
0:00:08.671509000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<capsfilter1:sink> our
template  0x11fb20
0:00:08.671906000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<capsfilter1:sink>
intersected 0x2898e0
0:00:08.672272000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<capsfilter1>
transform caps (direction = 1)
0:00:08.672516000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:440:gst_base_transform_transform_caps:<capsfilter1> from:
ANY
0:00:08.672944000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:442:gst_base_transform_transform_caps:<capsfilter1>   to:
0x289920
0:00:08.673340000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<capsfilter1> to:
(1) 0x289900
0:00:08.673615000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<capsfilter1:sink>
transformed  0x289900
0:00:08.673981000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<capsfilter1:sink> our
template  0x11fb40
0:00:08.674714000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<capsfilter1:sink>
intersected 0x289940
0:00:08.675019000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<capsfilter1> returning
0x289940
0:00:08.675415000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:568:gst_base_transform_getcaps:<scaler0:sink> peer caps
0x289940
0:00:08.675782000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:572:gst_base_transform_getcaps:<scaler0:sink> our
template  0x71600
0:00:08.676270000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:574:gst_base_transform_getcaps:<scaler0:sink> intersected
0x289960
0:00:08.676575000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:436:gst_base_transform_transform_caps:<scaler0> transform
caps (direction = 1)
0:00:08.677002000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:453:gst_base_transform_transform_caps:<scaler0> from[0]:
0x2899a0
Input caps: video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320,
height=(int)240, framerate=(fraction)0/1
String used for output_caps: video/x-raw-yuv, format=(fourcc)YUY2,
width=(int)320, height=(int)240, framerate=(fraction)0/1
0:00:08.678406000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:456:gst_base_transform_transform_caps:<scaler0>   to[0]:
0x2899c0
0:00:08.678864000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:465:gst_base_transform_transform_caps:<scaler0> merged:
(1)
0:00:08.679230000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:477:gst_base_transform_transform_caps:<scaler0> to: (1)
0x289980
0:00:08.679505000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:579:gst_base_transform_getcaps:<scaler0:sink>
transformed  0x289980
0:00:08.679871000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:586:gst_base_transform_getcaps:<scaler0:sink> our
template  0x71620
0:00:08.680329000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:588:gst_base_transform_getcaps:<scaler0:sink> intersected
0x296e00
0:00:08.680725000   497 0x1d8f80 DEBUG        basetransform
gstbasetransform.c:598:gst_base_transform_getcaps:<scaler0> returning
0x296e00
0:00:08.681183000   497 0x1d8f80 LOG          basetransform
gstbasetransform.c:947:gst_base_transform_prepare_output_buffer:<capsfilter0>
created sub-buffer of input buffer
0:00:08.681519000   497 0x1d8f80 LOG          basetransform
gstbasetransform.c:1372:gst_base_transform_handle_buffer:<scaler0> handling
buffer 0xef2b0 of size 614400 and offset 0
trans->negotiated is FALSE
trans->passthrough is FALSE
set_caps function was declared
0:00:08.683075000   497 0x1d8f80 WARN         basetransform
gstbasetransform.c:1512:gst_base_transform_handle_buffer:<scaler0> error:
not negotiated
0:00:08.683503000   497 0x1d8f80 WARN         basetransform
gstbasetransform.c:1512:gst_base_transform_handle_buffer:<scaler0> error:
not negotiated
ERROR: from element /pipeline0/scaler0: not negotiated
Additional debug info:
gstbasetransform.c(1512): gst_base_transform_handle_buffer ():
/pipeline0/scaler0:
not negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080310/7eafd8ff/attachment.htm>


More information about the gstreamer-devel mailing list