mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
db2acf1cdf
Instead of forcing it on event, allow specifying filters on anything we log, meaning also buffers
38 lines
1.7 KiB
C
38 lines
1.7 KiB
C
/* GStreamer
|
|
*
|
|
* Copyright (C) 2018-2019 Igalia S.L.
|
|
* Copyright (C) 2018 Metrological Group B.V.
|
|
* Author: Alicia Boya García <aboya@igalia.com>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GST_VALIDATE_FLOW_FORMATTING_H__
|
|
#define __GST_VALIDATE_FLOW_FORMATTING_H__
|
|
|
|
#include <gst/gst.h>
|
|
|
|
void format_time(gchar* dest_str, guint64 time);
|
|
|
|
gchar* validate_flow_format_segment(const GstSegment* segment, gchar** logged_fields, gchar** ignored_fields);
|
|
|
|
gchar* validate_flow_format_caps (const GstCaps* caps, gchar **keys_to_print);
|
|
|
|
gchar* validate_flow_format_buffer(GstBuffer* buffer, gboolean add_checksum, GstStructure* logged_fields_struct, GstStructure* ignored_fields_struct);
|
|
|
|
gchar* validate_flow_format_event(GstEvent* event, const gchar* const* caps_properties, GstStructure* logged_event_fields, GstStructure* ignored_event_fields, const gchar* const* ignored_event_types, const gchar* const* logged_event_types);
|
|
|
|
#endif // __GST_VALIDATE_FLOW_FORMATTING_H__
|