mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
9920b88c3f
Original commit message from CVS: This is the audio/video sync release. Changed the mpegvideoparser to parse complete pictures. Added the PTS timestamps to the pictures. Added PTS timestamps to the MPEG audio frames. Made the clock a littlebit better. Gstplay now uses two more threads one for video, one for audio playback. Added the first QoS callbacks for the pads. hopefully fix an mmx compilation problem.
62 lines
1.6 KiB
C
62 lines
1.6 KiB
C
/* Gnome-Streamer
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library 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_H__
|
|
#define __GST_H__
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include <gst/gstlog.h>
|
|
|
|
#include <gst/gstobject.h>
|
|
#include <gst/gstpad.h>
|
|
#include <gst/gstbuffer.h>
|
|
#include <gst/gstelement.h>
|
|
|
|
#include <gst/gstbin.h>
|
|
#include <gst/gstpipeline.h>
|
|
#include <gst/gstthread.h>
|
|
#include <gst/gstsrc.h>
|
|
#include <gst/gstfilter.h>
|
|
#include <gst/gstsink.h>
|
|
#include <gst/gstconnection.h>
|
|
#include <gst/gsttype.h>
|
|
#include <gst/gstplugin.h>
|
|
#include <gst/gstutils.h>
|
|
#include <gst/gsttrace.h>
|
|
#include <gst/gstxml.h>
|
|
|
|
#include <gst/gsttee.h>
|
|
|
|
/* initialize GST */
|
|
void gst_init(int *argc,char **argv[]);
|
|
|
|
/* debugging */
|
|
#ifndef DEBUG
|
|
#ifdef DEBUG_ENABLED
|
|
#define DEBUG(format, args...) g_print("DEBUG:(%d) " format, getpid() , ##args)
|
|
#else
|
|
#define DEBUG(format, args...)
|
|
#endif
|
|
#endif
|
|
|
|
#endif /* __GST_H__ */
|