Instead of using BaseSrc default format GST_FORMAT_BYTES, send it in
GST_FORMAT_TIME. Signed-off-by: Thadeu Lima de Souza Cascardo <[hidden email]> --- sys/ximage/gstximagesrc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sys/ximage/gstximagesrc.c b/sys/ximage/gstximagesrc.c index 15c7d6c..e6fbe2f 100644 --- a/sys/ximage/gstximagesrc.c +++ b/sys/ximage/gstximagesrc.c @@ -1117,6 +1117,7 @@ gst_ximage_src_class_init (GstXImageSrcClass * klass) static void gst_ximage_src_init (GstXImageSrc * ximagesrc, GstXImageSrcClass * klass) { + gst_base_src_set_format (GST_BASE_SRC (ximagesrc), GST_FORMAT_TIME); gst_base_src_set_live (GST_BASE_SRC (ximagesrc), TRUE); gst_pad_set_fixatecaps_function (GST_BASE_SRC_PAD (ximagesrc), gst_ximage_src_fixate); -- 1.6.6.1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Tue, 2010-03-02 at 20:56 -0300, Thadeu Lima de Souza Cascardo wrote:
> Instead of using BaseSrc default format GST_FORMAT_BYTES, send it in > GST_FORMAT_TIME. Any chance you could file that patch in bugzilla? That way it's not forgotten about if someone doesn't apply it immediately. Thanks! Cheers -Tim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Wed, Mar 03, 2010 at 12:32:36AM +0000, Tim-Philipp Müller wrote:
> On Tue, 2010-03-02 at 20:56 -0300, Thadeu Lima de Souza Cascardo wrote: > > > Instead of using BaseSrc default format GST_FORMAT_BYTES, send it in > > GST_FORMAT_TIME. > > Any chance you could file that patch in bugzilla? That way it's not > forgotten about if someone doesn't apply it immediately. Thanks! > > Cheers > -Tim Thanks, Tim. Cascardo. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel signature.asc (205 bytes) Download Attachment |
Free forum by Nabble | Edit this page |