mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gst/matroska/matroska-mux.c: Also fix up pad templates to indicate that image/jpeg doesn't absolutely require the fra...
Original commit message from CVS: * gst/matroska/matroska-mux.c: (COMMON_VIDEO_CAPS_NO_FRAMERATE), (videosink_templ): Also fix up pad templates to indicate that image/jpeg doesn't absolutely require the framerate property to be set (#504081).
This commit is contained in:
parent
0a3ae38bf0
commit
a895112c29
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/matroska/matroska-mux.c: (COMMON_VIDEO_CAPS_NO_FRAMERATE),
|
||||
(videosink_templ):
|
||||
Also fix up pad templates to indicate that image/jpeg doesn't
|
||||
absolutely require the framerate property to be set (#504081).
|
||||
|
||||
2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Based on patch by: Wouter Cloetens <wouter at mind be>
|
||||
|
|
|
@ -51,6 +51,10 @@ static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
"height = (int) [ 16, 4096 ], " \
|
||||
"framerate = (fraction) [ 0, MAX ]"
|
||||
|
||||
#define COMMON_VIDEO_CAPS_NO_FRAMERATE \
|
||||
"width = (int) [ 16, 4096 ], " \
|
||||
"height = (int) [ 16, 4096 ] "
|
||||
|
||||
static GstStaticPadTemplate videosink_templ =
|
||||
GST_STATIC_PAD_TEMPLATE ("video_%d",
|
||||
GST_PAD_SINK,
|
||||
|
@ -74,7 +78,7 @@ static GstStaticPadTemplate videosink_templ =
|
|||
"video/x-msmpeg, "
|
||||
COMMON_VIDEO_CAPS "; "
|
||||
"image/jpeg, "
|
||||
COMMON_VIDEO_CAPS "; "
|
||||
COMMON_VIDEO_CAPS_NO_FRAMERATE "; "
|
||||
"video/x-theora; "
|
||||
"video/x-dirac, "
|
||||
COMMON_VIDEO_CAPS "; "
|
||||
|
|
Loading…
Reference in a new issue