From 96efe720a130cf119e3b73c70ba634d79c713227 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 2 Nov 2012 10:03:38 +0100 Subject: [PATCH] videotestsrc: Don't error on not-negotiated Base classes will handle re-negotiation if needed, but emitting an error message will make applications stop. --- gst/videotestsrc/gstvideotestsrc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c index 63e67ce0dc..462ef1123b 100644 --- a/gst/videotestsrc/gstvideotestsrc.c +++ b/gst/videotestsrc/gstvideotestsrc.c @@ -900,8 +900,6 @@ gst_video_test_src_fill (GstPushSrc * psrc, GstBuffer * buffer) not_negotiated: { - GST_ELEMENT_ERROR (src, CORE, NEGOTIATION, (NULL), - ("format wasn't negotiated before get function")); return GST_FLOW_NOT_NEGOTIATED; } eos: