mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
9a392ef442
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.
54 lines
1.1 KiB
C
54 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2008 Jan Schmidt <thaytan@noraisin.net>
|
|
*/
|
|
|
|
#ifndef __RSN_PARSETTER_H__
|
|
#define __RSN_PARSETTER_H__
|
|
|
|
#include <gst/gst.h>
|
|
|
|
#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__ */
|