2 * GStreamer splitter + decoder, adapted from parser.c
4 * Copyright 2010 Maarten Lankhorst for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __GST_PRIVATE_INCLUDED__
22 #define __GST_PRIVATE_INCLUDED__
33 #include "wine/strmbase.h"
35 #define MEDIATIME_FROM_BYTES(x) ((LONGLONG)(x) * 10000000)
38 void dump_AM_MEDIA_TYPE(const AM_MEDIA_TYPE
* pmt
);
40 IUnknown
* CALLBACK
Gstreamer_AudioConvert_create(IUnknown
*pUnkOuter
, HRESULT
*phr
);
41 IUnknown
* CALLBACK
Gstreamer_Mp3_create(IUnknown
*pUnkOuter
, HRESULT
*phr
);
42 IUnknown
* CALLBACK
Gstreamer_YUV_create(IUnknown
*pUnkOuter
, HRESULT
*phr
);
43 IUnknown
* CALLBACK
Gstreamer_Splitter_create(IUnknown
*pUnkOuter
, HRESULT
*phr
);
45 DWORD
Gstreamer_init(void);
47 GstFlowReturn
got_data(GstPad
*pad
, GstObject
*parent
, GstBuffer
*buf
) DECLSPEC_HIDDEN
;
48 GstFlowReturn
request_buffer(GstPad
*pad
, guint64 ofs
, guint size
, GstCaps
*caps
, GstBuffer
**buf
) DECLSPEC_HIDDEN
;
49 void Gstreamer_transform_pad_added(GstElement
*filter
, GstPad
*pad
, gpointer user
) DECLSPEC_HIDDEN
;
51 void start_dispatch_thread(void) DECLSPEC_HIDDEN
;
53 extern const char *media_quark_string DECLSPEC_HIDDEN
;
55 #endif /* __GST_PRIVATE_INCLUDED__ */