mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
xingmux: move from gst-plugins-ugly to gst-plugins-good
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/415 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3251>
This commit is contained in:
parent
2265709574
commit
d132592423
14 changed files with 47 additions and 47 deletions
|
@ -28060,6 +28060,44 @@
|
||||||
"tracers": {},
|
"tracers": {},
|
||||||
"url": "Unknown package origin"
|
"url": "Unknown package origin"
|
||||||
},
|
},
|
||||||
|
"xingmux": {
|
||||||
|
"description": "Add XING tags to mpeg audio files",
|
||||||
|
"elements": {
|
||||||
|
"xingmux": {
|
||||||
|
"author": "Christophe Fergeau <teuf@gnome.org>",
|
||||||
|
"description": "Adds a Xing header to the beginning of a VBR MP3 file",
|
||||||
|
"hierarchy": [
|
||||||
|
"GstXingMux",
|
||||||
|
"GstElement",
|
||||||
|
"GstObject",
|
||||||
|
"GInitiallyUnowned",
|
||||||
|
"GObject"
|
||||||
|
],
|
||||||
|
"klass": "Formatter/Muxer/Metadata",
|
||||||
|
"long-name": "MP3 Xing muxer",
|
||||||
|
"pad-templates": {
|
||||||
|
"sink": {
|
||||||
|
"caps": "audio/mpeg:\n mpegversion: 1\n layer: [ 1, 3 ]\n",
|
||||||
|
"direction": "sink",
|
||||||
|
"presence": "always"
|
||||||
|
},
|
||||||
|
"src": {
|
||||||
|
"caps": "audio/mpeg:\n mpegversion: 1\n layer: [ 1, 3 ]\n",
|
||||||
|
"direction": "src",
|
||||||
|
"presence": "always"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rank": "marginal"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"filename": "gstxingmux",
|
||||||
|
"license": "LGPL",
|
||||||
|
"other-types": {},
|
||||||
|
"package": "GStreamer Good Plug-ins",
|
||||||
|
"source": "gst-plugins-good",
|
||||||
|
"tracers": {},
|
||||||
|
"url": "Unknown package origin"
|
||||||
|
},
|
||||||
"y4menc": {
|
"y4menc": {
|
||||||
"description": "Encodes a YUV frame into the yuv4mpeg format (mjpegtools)",
|
"description": "Encodes a YUV frame into the yuv4mpeg format (mjpegtools)",
|
||||||
"elements": {
|
"elements": {
|
||||||
|
|
|
@ -6,7 +6,7 @@ foreach plugin : ['alpha', 'apetag', 'audiofx', 'audioparsers', 'auparse',
|
||||||
'monoscope', 'multifile', 'multipart', 'replaygain', 'rtp',
|
'monoscope', 'multifile', 'multipart', 'replaygain', 'rtp',
|
||||||
'rtpmanager', 'rtsp', 'shapewipe', 'smpte', 'spectrum',
|
'rtpmanager', 'rtsp', 'shapewipe', 'smpte', 'spectrum',
|
||||||
'udp', 'videobox', 'videocrop', 'videofilter', 'videomixer',
|
'udp', 'videobox', 'videocrop', 'videofilter', 'videomixer',
|
||||||
'wavenc', 'wavparse', 'y4m']
|
'wavenc', 'wavparse', 'xingmux', 'y4m']
|
||||||
if not get_option(plugin).disabled()
|
if not get_option(plugin).disabled()
|
||||||
subdir(plugin)
|
subdir(plugin)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -5,7 +5,7 @@ xing_sources = [
|
||||||
|
|
||||||
gstxingmux = library('gstxingmux',
|
gstxingmux = library('gstxingmux',
|
||||||
xing_sources,
|
xing_sources,
|
||||||
c_args : ugly_args,
|
c_args : gst_plugins_good_args,
|
||||||
include_directories : [configinc],
|
include_directories : [configinc],
|
||||||
dependencies : [gstbase_dep],
|
dependencies : [gstbase_dep],
|
||||||
install : true,
|
install : true,
|
|
@ -41,6 +41,7 @@ option('videofilter', type : 'feature', value : 'auto')
|
||||||
option('videomixer', type : 'feature', value : 'auto')
|
option('videomixer', type : 'feature', value : 'auto')
|
||||||
option('wavenc', type : 'feature', value : 'auto')
|
option('wavenc', type : 'feature', value : 'auto')
|
||||||
option('wavparse', type : 'feature', value : 'auto')
|
option('wavparse', type : 'feature', value : 'auto')
|
||||||
|
option('xingmux', type : 'feature', value : 'auto')
|
||||||
option('y4m', type : 'feature', value : 'auto')
|
option('y4m', type : 'feature', value : 'auto')
|
||||||
|
|
||||||
# Feature options for plugins with external deps
|
# Feature options for plugins with external deps
|
||||||
|
|
|
@ -44,8 +44,8 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_STATIC_CAPS ("audio/mpeg, " "mpegversion = (int) 1," "layer = (int) 3")
|
GST_STATIC_CAPS ("audio/mpeg, " "mpegversion = (int) 1," "layer = (int) 3")
|
||||||
);
|
);
|
||||||
|
|
||||||
GstElement *
|
static GstElement *
|
||||||
setup_xingmux ()
|
setup_xingmux (void)
|
||||||
{
|
{
|
||||||
GstElement *xingmux;
|
GstElement *xingmux;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
@ -65,7 +65,7 @@ setup_xingmux ()
|
||||||
return xingmux;
|
return xingmux;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
cleanup_xingmux (GstElement * xingmux)
|
cleanup_xingmux (GstElement * xingmux)
|
||||||
{
|
{
|
||||||
GST_DEBUG ("cleanup_xingmux");
|
GST_DEBUG ("cleanup_xingmux");
|
||||||
|
@ -139,7 +139,7 @@ GST_START_TEST (test_xing_remux)
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
||||||
Suite *
|
static Suite *
|
||||||
xingmux_suite (void)
|
xingmux_suite (void)
|
||||||
{
|
{
|
||||||
Suite *s = suite_create ("xingmux");
|
Suite *s = suite_create ("xingmux");
|
|
@ -75,6 +75,7 @@ good_tests = [
|
||||||
[ 'pipelines/wavenc', get_option('wavenc').disabled()],
|
[ 'pipelines/wavenc', get_option('wavenc').disabled()],
|
||||||
[ 'elements/wavparse', get_option('wavparse').disabled(), [gstriff_dep] ],
|
[ 'elements/wavparse', get_option('wavparse').disabled(), [gstriff_dep] ],
|
||||||
[ 'elements/wavpackparse', get_option('audioparsers').disabled()],
|
[ 'elements/wavpackparse', get_option('audioparsers').disabled()],
|
||||||
|
[ 'elements/xingmux', get_option('xingmux').disabled()],
|
||||||
[ 'elements/y4menc', get_option('y4m').disabled()],
|
[ 'elements/y4menc', get_option('y4m').disabled()],
|
||||||
[ 'pipelines/effectv', get_option('effectv').disabled()],
|
[ 'pipelines/effectv', get_option('effectv').disabled()],
|
||||||
[ 'elements/equalizer', get_option('equalizer').disabled()],
|
[ 'elements/equalizer', get_option('equalizer').disabled()],
|
||||||
|
|
|
@ -1973,43 +1973,5 @@
|
||||||
"source": "gst-plugins-ugly",
|
"source": "gst-plugins-ugly",
|
||||||
"tracers": {},
|
"tracers": {},
|
||||||
"url": "Unknown package origin"
|
"url": "Unknown package origin"
|
||||||
},
|
|
||||||
"xingmux": {
|
|
||||||
"description": "Add XING tags to mpeg audio files",
|
|
||||||
"elements": {
|
|
||||||
"xingmux": {
|
|
||||||
"author": "Christophe Fergeau <teuf@gnome.org>",
|
|
||||||
"description": "Adds a Xing header to the beginning of a VBR MP3 file",
|
|
||||||
"hierarchy": [
|
|
||||||
"GstXingMux",
|
|
||||||
"GstElement",
|
|
||||||
"GstObject",
|
|
||||||
"GInitiallyUnowned",
|
|
||||||
"GObject"
|
|
||||||
],
|
|
||||||
"klass": "Formatter/Muxer/Metadata",
|
|
||||||
"long-name": "MP3 Xing muxer",
|
|
||||||
"pad-templates": {
|
|
||||||
"sink": {
|
|
||||||
"caps": "audio/mpeg:\n mpegversion: 1\n layer: [ 1, 3 ]\n",
|
|
||||||
"direction": "sink",
|
|
||||||
"presence": "always"
|
|
||||||
},
|
|
||||||
"src": {
|
|
||||||
"caps": "audio/mpeg:\n mpegversion: 1\n layer: [ 1, 3 ]\n",
|
|
||||||
"direction": "src",
|
|
||||||
"presence": "always"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rank": "marginal"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"filename": "gstxingmux",
|
|
||||||
"license": "LGPL",
|
|
||||||
"other-types": {},
|
|
||||||
"package": "GStreamer Ugly Plug-ins",
|
|
||||||
"source": "gst-plugins-ugly",
|
|
||||||
"tracers": {},
|
|
||||||
"url": "Unknown package origin"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
foreach plugin : ['asfdemux', 'dvdlpcmdec', 'dvdsub', 'realmedia', 'xingmux']
|
foreach plugin : ['asfdemux', 'dvdlpcmdec', 'dvdsub', 'realmedia']
|
||||||
if not get_option(plugin).disabled()
|
if not get_option(plugin).disabled()
|
||||||
subdir(plugin)
|
subdir(plugin)
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -6,7 +6,6 @@ option('asfdemux', type : 'feature', value : 'auto')
|
||||||
option('dvdlpcmdec', type : 'feature', value : 'auto')
|
option('dvdlpcmdec', type : 'feature', value : 'auto')
|
||||||
option('dvdsub', type : 'feature', value : 'auto')
|
option('dvdsub', type : 'feature', value : 'auto')
|
||||||
option('realmedia', type : 'feature', value : 'auto')
|
option('realmedia', type : 'feature', value : 'auto')
|
||||||
option('xingmux', type : 'feature', value : 'auto')
|
|
||||||
|
|
||||||
# Feature options for plugins that need external deps
|
# Feature options for plugins that need external deps
|
||||||
option('a52dec', type : 'feature', value : 'auto', description : 'Dolby Digital (AC-3) audio decoder plugin based on liba52 (GPL - only built if gpl option is also enabled!)')
|
option('a52dec', type : 'feature', value : 'auto', description : 'Dolby Digital (AC-3) audio decoder plugin based on liba52 (GPL - only built if gpl option is also enabled!)')
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# name, condition when to skip the test and extra dependencies
|
# name, condition when to skip the test and extra dependencies
|
||||||
ugly_tests = [
|
ugly_tests = [
|
||||||
[ 'elements/x264enc', not x264_dep.found(), [ x264_dep, gmodule_dep ] ],
|
[ 'elements/x264enc', not x264_dep.found(), [ x264_dep, gmodule_dep ] ],
|
||||||
[ 'elements/xingmux', get_option('xingmux').disabled()],
|
|
||||||
[ 'generic/states' ],
|
[ 'generic/states' ],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue