summaryrefslogtreecommitdiffstats
path: root/gst/mxf/mxfd10.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-12-04 08:37:18 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-12-04 08:37:18 +0000
commit8201937c549034dc26dc289295a4ca0dfdceeb32 (patch)
tree5925f36690e4072dcf1d9f66ee244b0be00311aa /gst/mxf/mxfd10.h
parent7f61ced7e61ffe636e3a9a38ee2919a7ac9a43df (diff)
downloadgst-plugins-bad-8201937c549034dc26dc289295a4ca0dfdceeb32.tar.gz
gst-plugins-bad-8201937c549034dc26dc289295a4ca0dfdceeb32.tar.bz2
gst-plugins-bad-8201937c549034dc26dc289295a4ca0dfdceeb32.zip
gst/mxf/: Add support for SMPTE D10 essence (SMPTE 386M).
Original commit message from CVS: * gst/mxf/Makefile.am: * gst/mxf/mxfd10.c: (mxf_is_d10_essence_track), (mxf_d10_picture_handle_essence_element), (mxf_d10_sound_handle_essence_element), (mxf_d10_create_caps): * gst/mxf/mxfd10.h: * gst/mxf/mxfdemux.c: (gst_mxf_demux_handle_header_metadata_update_streams): Add support for SMPTE D10 essence (SMPTE 386M). * gst/mxf/mxfparse.c: (mxf_metadata_generic_picture_essence_descriptor_set_caps): Don't set width/height and PAR on the caps as those values are wrong for most files (height is sometimes the height of a field and aspect ratio is some random value). * gst/mxf/mxfaes-bwf.c: (mxf_bwf_create_caps), (mxf_aes3_create_caps): Fix calculation of block align if it isn't set in the descriptor.
Diffstat (limited to 'gst/mxf/mxfd10.h')
-rw-r--r--gst/mxf/mxfd10.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/gst/mxf/mxfd10.h b/gst/mxf/mxfd10.h
new file mode 100644
index 00000000..2fca77b8
--- /dev/null
+++ b/gst/mxf/mxfd10.h
@@ -0,0 +1,36 @@
+/* GStreamer
+ * Copyright (C) 2008 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+ *
+ * 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.
+ */
+
+/* Implementation of SMPTE 386M - Mapping Type-D10 essence data into the MXF
+ * Generic Container
+ */
+
+#ifndef __MXF_D10_H__
+#define __MXF_D10_H__
+
+#include <gst/gst.h>
+
+#include "mxfparse.h"
+
+gboolean mxf_is_d10_essence_track (const MXFMetadataTrack *track);
+
+GstCaps *
+mxf_d10_create_caps (MXFMetadataGenericPackage *package, MXFMetadataTrack *track, GstTagList **tags, MXFEssenceElementHandler *handler, gpointer *mapping_data);
+
+#endif /* __MXF_D10_H__ */