2 * Copyright <2006, 2007, 2008, 2009, 2010> Fluendo <support@fluendo.com>
3 * Copyright (C) 2007 Sebastien Moutte <sebastien@moutte.net>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
23 #ifndef _GST_DSHOW_UTIL_H_
24 #define _GST_DSHOW_UTIL_H_
36 const GUID *filter_guid; /* The filter GUID, or DMO GUID */
37 const GUID *dmo_category; /* If non-NULL, the filter is a DMO of this
41 /* get a pin from directshow filter */
42 IPin *gst_dshow_get_pin_from_filter (IBaseFilter *filter, PIN_DIRECTION pindir);
44 /* find and return a filter according to the input and output types */
46 gst_dshow_find_filter(CLSID input_majortype, CLSID input_subtype,
47 CLSID output_majortype, CLSID output_subtype,
48 PreferredFilter *preferred_filters);
50 #define DSHOW_CODEC_QDATA g_quark_from_string ("dshow-codec")
52 #endif /* _GST_DSHOW_UTIL_H_ */