From 9a392ef442ef284f63c36ef3690445e5938a046a Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 11 Jul 2008 14:06:08 +0000 Subject: docs/plugins/.cvsignore: Ignore *-undeclared.txt Original commit message from CVS: * docs/plugins/.cvsignore: Ignore *-undeclared.txt * ext/resindvd/rsnaudiomunge.c: Turn g_print's into debug statements. * ext/resindvd/resin-play: * ext/resindvd/Makefile.am: * ext/resindvd/resindvdbin.c: * ext/resindvd/resindvdbin.h: * ext/resindvd/rsnparsetter.c: * ext/resindvd/rsnparsetter.h: * ext/resindvd/rsnwrappedbuffer.c: * ext/resindvd/rsnwrappedbuffer.h: Add a bloated implementation of a really simple idea: Replace the pixel-aspect-ratio in the output video with a prescribed one when necessary. There must be an easier way. Split the dvdspu out of the resindvdbin and put out the subpicture stream on the subpicture pad. * ext/resindvd/gstmpegdemux.c: Send video-aspect events down the pipe from the demuxer. * ext/resindvd/resindvdsrc.c: * ext/resindvd/resindvdsrc.h: Handle timed-stills somewhat using g_cond_timed_wait, with a FIXME to make it use clock-waiting later. * ext/resindvd/rsnbasesrc.c: Don't overwrite the last_stop in the basesrc segment after a seamless seek. --- ext/resindvd/rsnparsetter.h | 54 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ext/resindvd/rsnparsetter.h (limited to 'ext/resindvd/rsnparsetter.h') diff --git a/ext/resindvd/rsnparsetter.h b/ext/resindvd/rsnparsetter.h new file mode 100644 index 00000000..5e89bb1c --- /dev/null +++ b/ext/resindvd/rsnparsetter.h @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2008 Jan Schmidt + */ + +#ifndef __RSN_PARSETTER_H__ +#define __RSN_PARSETTER_H__ + +#include + +#include "rsnwrappedbuffer.h" + +G_BEGIN_DECLS + +#define RSN_TYPE_RSNPARSETTER \ + (rsn_parsetter_get_type()) +#define RSN_PARSETTER(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),RSN_TYPE_RSNPARSETTER,RsnParSetter)) +#define RSN_PARSETTER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass),RSN_TYPE_RSNPARSETTER,RsnParSetterClass)) +#define RSN_IS_PARSETTER(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),RSN_TYPE_RSNPARSETTER)) +#define RSN_IS_PARSETTER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass),RSN_TYPE_RSNPARSETTER)) + +typedef struct _RsnParSetter RsnParSetter; +typedef struct _RsnParSetterClass RsnParSetterClass; + +struct _RsnParSetter +{ + GstElement element; + + GstPad *sinkpad, *srcpad; + + gboolean override_outcaps; + GstCaps *outcaps; + + gboolean is_widescreen; + + GMutex *caps_lock; + GstCaps *in_caps_last; + gboolean in_caps_was_ok; + GstCaps *in_caps_converted; +}; + +struct _RsnParSetterClass +{ + GstElementClass parent_class; +}; + +GType rsn_parsetter_get_type (void); + +G_END_DECLS + +#endif /* __RSN_PARSETTER_H__ */ -- cgit v1.2.1