<div dir="ltr">Hi, I'm writing custom plugin for JPEG2000 enc/dec. There is a set_format callback in gstvideodecoder class which should by called at the beginning of data processing ... In my case the set_format callback is called when the jpeg2000 files are wrapped(muxed) in mj2 container or any other container, but it is not called when jpeg2000 files are not wrapped e.g. loaded as common files using multifilesrc <div><br></div><div>1. case set_format is called </div><div>gst-launch filesrc location=video.mj2 ! qtdemux ! my_jpeg2000_dec ! videoconvert ! autovideosink</div><div><br></div><div>2. case set_format is not called </div><div>gst-launch multifilesrc location=video_%d.j2k ! my_jpeg2000_dec ! videoconvert ! autovideosink</div><div><br></div><div>The only difference is that files are treated as set of j2k files instead of one mj2 file. So my question is why set_format is not called in second case ?<br>-- <br><div class="gmail_signature"><div dir="ltr"><i>Miloš Selečéni</i></div></div>
</div></div>