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-base
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-base
Commits
04e3fc3f
Commit
04e3fc3f
authored
Jul 15, 2015
by
Ville Skyttä
Committed by
Tim-Philipp Müller
Jul 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typefind: Treat *.umx (Unreal Music Package) as audio/x-mod
https://bugzilla.gnome.org//show_bug.cgi?id=752436
parent
a2e4ccc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
gst/typefind/gsttypefindfunctions.c
gst/typefind/gsttypefindfunctions.c
+7
-1
No files found.
gst/typefind/gsttypefindfunctions.c
View file @
04e3fc3f
...
...
@@ -3492,6 +3492,12 @@ mod_type_find (GstTypeFind * tf, gpointer unused)
goto
suggest_audio_mod_caps
;
}
}
/* UMX */
if
(
memcmp
(
data
,
"
\xC1\x83\x2A\x9E
"
,
4
)
==
0
)
{
mod_type
=
"umx"
;
probability
=
GST_TYPE_FIND_POSSIBLE
;
goto
suggest_audio_mod_caps
;
}
}
/* FAR (Farandole) (secondary detection) */
if
((
data
=
gst_type_find_peek
(
tf
,
44
,
3
))
!=
NULL
)
{
...
...
@@ -5546,7 +5552,7 @@ plugin_init (GstPlugin * plugin)
tta_type_find
,
"tta"
,
TTA_CAPS
,
NULL
,
NULL
);
TYPE_FIND_REGISTER
(
plugin
,
"audio/x-mod"
,
GST_RANK_SECONDARY
,
mod_type_find
,
"669,amf,ams,dbm,digi,dmf,dsm,gdm,far,imf,it,j2b,mdl,med,mod,mt2,mtm,"
"okt,psm,ptm,sam,s3m,stm,stx,ult,xm"
,
MOD_CAPS
,
NULL
,
NULL
);
"okt,psm,ptm,sam,s3m,stm,stx,ult,
umx,
xm"
,
MOD_CAPS
,
NULL
,
NULL
);
TYPE_FIND_REGISTER
(
plugin
,
"audio/mpeg"
,
GST_RANK_PRIMARY
,
mp3_type_find
,
"mp3,mp2,mp1,mpga"
,
MP3_CAPS
,
NULL
,
NULL
);
TYPE_FIND_REGISTER
(
plugin
,
"audio/x-ac3"
,
GST_RANK_PRIMARY
,
ac3_type_find
,
...
...
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