mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
don't needlessly do stuff; don't clutter my logs
Original commit message from CVS: don't needlessly do stuff; don't clutter my logs
This commit is contained in:
parent
b317ec2be2
commit
2244e97e47
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-07-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
|
||||
(gst_ffmpegcolorspace_chain):
|
||||
no point in doing any chaining if the pad we want to push from
|
||||
isn't usable.
|
||||
|
||||
2004-07-20 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst-libs/gst/riff/riff-media.c:
|
||||
|
|
|
@ -304,6 +304,11 @@ gst_ffmpegcolorspace_chain (GstPad * pad, GstData * data)
|
|||
g_return_if_fail (space != NULL);
|
||||
g_return_if_fail (GST_IS_FFMPEGCOLORSPACE (space));
|
||||
|
||||
if (!GST_PAD_IS_USABLE (space->srcpad)) {
|
||||
gst_buffer_unref (inbuf);
|
||||
return;
|
||||
}
|
||||
|
||||
if (space->from_pixfmt == PIX_FMT_NB || space->to_pixfmt == PIX_FMT_NB) {
|
||||
GST_ELEMENT_ERROR (space, CORE, NOT_IMPLEMENTED, (NULL),
|
||||
("attempting to convert colorspaces between unknown formats"));
|
||||
|
|
Loading…
Reference in a new issue