Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
e5e90f60
Commit
e5e90f60
authored
Apr 27, 2010
by
Sebastian Dröge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
matroskamux: Add support for On2 VP8
...matroskademux automatically supports it through libgstriff.
parent
d1842481
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
gst/matroska/matroska-demux.c
gst/matroska/matroska-demux.c
+4
-0
gst/matroska/matroska-ids.h
gst/matroska/matroska-ids.h
+1
-0
gst/matroska/matroska-mux.c
gst/matroska/matroska-mux.c
+4
-0
No files found.
gst/matroska/matroska-demux.c
View file @
e5e90f60
...
...
@@ -6408,6 +6408,10 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
}
else
if
(
!
strcmp
(
codec_id
,
GST_MATROSKA_CODEC_ID_VIDEO_DIRAC
))
{
caps
=
gst_caps_new_simple
(
"video/x-dirac"
,
NULL
);
context
->
send_xiph_headers
=
FALSE
;
*
codec_name
=
g_strdup_printf
(
"Dirac"
);
}
else
if
(
!
strcmp
(
codec_id
,
GST_MATROSKA_CODEC_ID_VIDEO_VP8
))
{
caps
=
gst_caps_new_simple
(
"video/x-vp8"
,
NULL
);
*
codec_name
=
g_strdup_printf
(
"On2 VP8"
);
}
else
{
GST_WARNING
(
"Unknown codec '%s', cannot build Caps"
,
codec_id
);
return
NULL
;
...
...
gst/matroska/matroska-ids.h
View file @
e5e90f60
...
...
@@ -337,6 +337,7 @@
#define GST_MATROSKA_CODEC_ID_VIDEO_QUICKTIME "V_QUICKTIME"
#define GST_MATROSKA_CODEC_ID_VIDEO_SNOW "V_SNOW"
#define GST_MATROSKA_CODEC_ID_VIDEO_DIRAC "V_DIRAC"
#define GST_MATROSKA_CODEC_ID_VIDEO_VP8 "V_VP8"
#define GST_MATROSKA_CODEC_ID_AUDIO_MPEG1_L1 "A_MPEG/L1"
#define GST_MATROSKA_CODEC_ID_AUDIO_MPEG1_L2 "A_MPEG/L2"
...
...
gst/matroska/matroska-mux.c
View file @
e5e90f60
...
...
@@ -121,6 +121,8 @@ static GstStaticPadTemplate videosink_templ =
"video/x-pn-realvideo, "
"rmversion = (int) [1, 4], "
COMMON_VIDEO_CAPS
"; "
"video/x-vp8, "
COMMON_VIDEO_CAPS
"; "
"video/x-raw-yuv, "
"format = (fourcc) { YUY2, I420, YV12, UYVY, AYUV }, "
COMMON_VIDEO_CAPS
"; "
...
...
@@ -868,6 +870,8 @@ skip_details:
}
}
else
if
(
!
strcmp
(
mimetype
,
"video/x-dirac"
))
{
context
->
codec_id
=
g_strdup
(
GST_MATROSKA_CODEC_ID_VIDEO_DIRAC
);
}
else
if
(
!
strcmp
(
mimetype
,
"video/x-vp8"
))
{
context
->
codec_id
=
g_strdup
(
GST_MATROSKA_CODEC_ID_VIDEO_VP8
);
}
else
if
(
!
strcmp
(
mimetype
,
"video/mpeg"
))
{
gint
mpegversion
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment