avimux: add jpeg2000 to allowed caps
This commit is contained in:
parent
aea78a75ac
commit
b134ca31fa
@ -150,7 +150,11 @@ static GstStaticPadTemplate video_sink_factory =
|
|||||||
"video/x-wmv, "
|
"video/x-wmv, "
|
||||||
"width = (int) [ 16, 4096 ], "
|
"width = (int) [ 16, 4096 ], "
|
||||||
"height = (int) [ 16, 4096 ], " "framerate = (fraction) [ 0, MAX ], "
|
"height = (int) [ 16, 4096 ], " "framerate = (fraction) [ 0, MAX ], "
|
||||||
"wmvversion = (int) [ 1, 3]")
|
"wmvversion = (int) [ 1, 3];"
|
||||||
|
"image/x-jpc, "
|
||||||
|
"width = (int) [ 1, 2147483647 ], "
|
||||||
|
"height = (int) [ 1, 2147483647 ], "
|
||||||
|
"framerate = (fraction) [ 0, MAX ]")
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate audio_sink_factory =
|
static GstStaticPadTemplate audio_sink_factory =
|
||||||
@ -605,6 +609,8 @@ gst_avi_mux_vidsink_set_caps (GstPad * pad, GstCaps * vscaps)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (!strcmp (mimetype, "image/x-jpc")) {
|
||||||
|
avipad->vids.compression = GST_MAKE_FOURCC ('M', 'J', '2', 'C');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!avipad->vids.compression)
|
if (!avipad->vids.compression)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user