mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Silence and fix typefinding
Original commit message from CVS: Silence and fix typefinding
This commit is contained in:
parent
234aa1b285
commit
743b82aef5
1 changed files with 3 additions and 3 deletions
|
@ -118,7 +118,7 @@ flxdec_type_find (GstBuffer *buf, gpointer private)
|
|||
guchar *data = GST_BUFFER_DATA(buf);
|
||||
GstCaps *new;
|
||||
|
||||
if(GST_BUFFER_SIZE(buf) < 134){
|
||||
if (GST_BUFFER_SIZE(buf) < 134){
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -127,8 +127,8 @@ flxdec_type_find (GstBuffer *buf, gpointer private)
|
|||
|| data[4] == 0x30 || data[4] == 0x44) && data[5] == 0xaf) {
|
||||
/* check the frame type of the first frame */
|
||||
if ((data[132] == 0x00 || data[132] == 0xfa) && data[133] == 0xf1) {
|
||||
g_print("GstFlxDec: found supported flx format\n");
|
||||
new = gst_caps_new("flxdec_type_find","video/fli", NULL);
|
||||
GST_DEBUG ("GstFlxDec: found supported flx format");
|
||||
new = gst_caps_new("flxdec_type_find","video/x-fli", NULL);
|
||||
return new;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue