<html>
<body>
<div style='font: 12pt sans-serif;'>
<br />
<blockquote class="ukr_editor_quotation" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">> hello!
<br />> if use "gst-launch playbin uri=file:///absolut/path/to/file", playbin use
<br />> filesrc element by default.
<br />> I'm created new file source, e.g. "newfilesrc", and I need that playbin use
<br />> it. how can I do it?
<br />
<br />In this particular case, you should explain why you want to replace
<br />filesrc, and add the features you need to filesrc - or (more likely)
<br />we can suggest a better way to accomplish your goals.
<br />
<br />To more directly answer your question, playbin2 (you should be using
<br />this instead of playbin) will select the highest-ranked element that
<br />can handle the uri it's given, so you'd give your new element a higher
<br />rank than filesrc.
<br />
<br />Mike
<br />
<br /></blockquote>
<br />I need read files ciphered other my program, and deciph it. no file sourse element, which can do it.
<br />really, playbin2 works like I need -- it takes my newfilesrc!
<br />so thank you again
<br />
<br /> Sergiy
<br />
<br />
<br />
</div></body>
</html>