matroskamux: Add context flag for WebM
authorReynaldo H. Verdejo Pinochet <r.verdejo@partner.samsung.com>
Sun, 6 Oct 2013 16:17:00 +0000 (09:17 -0700)
committerReynaldo H. Verdejo Pinochet <r.verdejo@partner.samsung.com>
Sun, 6 Oct 2013 16:54:28 +0000 (09:54 -0700)
commit1cb31eeacc749801d391bd17d914d804ea1ad928
treee2314c761274397ba1f37a5183ebef3edeba5b0e
parentedeed575ae6998a5c6d2756d56c987f0aa8ac04f
matroskamux: Add context flag for WebM

WebM has a couple of specific requirements we need to handle.
Idea is to set this flag once and just rely on mux->is_webm
at run time instead of repeatedly figuring this out from
GST_MATROSKA_DOCTYPE_WEBM (which requires a strcmp()).
gst/matroska/matroska-mux.c
gst/matroska/matroska-mux.h
gst/matroska/webm-mux.c