summaryrefslogtreecommitdiff
path: root/ext/mplex
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2012-08-01 11:31:04 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-08-01 11:31:04 +0100
commite1e29488d01a29f97b1d59b2650f7899989f15ca (patch)
tree7252515a06801dfe58e559bdf64e37cce33b7475 /ext/mplex
parent71902797f22d8ba502cbdfbcc495f67b3b0cdb3c (diff)
mplexjob: add nicks for format enums, add some more formats
Diffstat (limited to 'ext/mplex')
-rw-r--r--ext/mplex/gstmplexjob.cc24
1 files changed, 14 insertions, 10 deletions
diff --git a/ext/mplex/gstmplexjob.cc b/ext/mplex/gstmplexjob.cc
index fa6f8b7aa..6895c1efc 100644
--- a/ext/mplex/gstmplexjob.cc
+++ b/ext/mplex/gstmplexjob.cc
@@ -55,16 +55,20 @@ gst_mplex_format_get_type (void)
if (!mplex_format_type) {
static const GEnumValue mplex_formats[] = {
- {0, "Generic MPEG-1", "0"},
- {1, "Standard VCD", "1"},
- {2, "User VCD", "2"},
- {3, "Generic MPEG-2", "3"},
- {4, "Standard SVCD", "4"},
- {5, "User SVCD", "5"},
- {6, "VCD Stills sequences", "6"},
- {7, "SVCD Stills sequences", "7"},
- {8, "DVD MPEG-2 for dvdauthor", "8"},
- {9, "DVD MPEG-2", "9"},
+ {MPEG_FORMAT_MPEG1, "Generic MPEG-1", "mpeg-1"},
+ {MPEG_FORMAT_VCD, "Standard VCD", "vcd"},
+ {MPEG_FORMAT_VCD_NSR, "User VCD", "vcd-nsr"},
+ {MPEG_FORMAT_MPEG2, "Generic MPEG-2", "mpeg-2"},
+ {MPEG_FORMAT_SVCD, "Standard SVCD", "svcd"},
+ {MPEG_FORMAT_SVCD_NSR, "User SVCD", "svcd-nsr"},
+ {MPEG_FORMAT_VCD_STILL, "VCD Stills sequences", "vcd-still"},
+ {MPEG_FORMAT_SVCD_STILL, "SVCD Stills sequences", "svcd-still"},
+ {MPEG_FORMAT_DVD_NAV, "DVD MPEG-2 for dvdauthor", "dvd-nav"},
+ {MPEG_FORMAT_DVD, "DVD MPEG-2", "dvd"},
+ {MPEG_FORMAT_ATSC480i, "ATSC 480i", "atsc-480i"},
+ {MPEG_FORMAT_ATSC480p, "ATSC 480p", "atsc-480p"},
+ {MPEG_FORMAT_ATSC720p, "ATSC 720p", "atsc-720p"},
+ {MPEG_FORMAT_ATSC1080i, "ATSC 1080i", "atsc-1080i"},
{0, NULL, NULL},
};