<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Am 30.12.18 um 21:35 schrieb Jonathan
      Baecker:<br>
    </div>
    <blockquote type="cite"
      cite="mid:e746a144-f979-f66c-fda7-7b74507c3c31@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hello everybody,</p>
      <p>when I use a playbin in python I can switch the input uri with:</p>
      <blockquote>
        <p><font size="-1">playbin.connect('about-to-finish',
            on_about_to_finish)</font></p>
      </blockquote>
      <p>I saw that uridecodebin3 have also an "<font size="-1">about-to-finish</font>"
        signal... But when I try with that to switch the input I get
        only errors and nothing is happen.</p>
      <p><font size="-1">0:00:18.828253162 12679 0x7fc7f004f320
          WARN              decodebin3
          gstdecodebin3.c:756:parsebin_drained_cb:<decodebin3-0>
          input 0x55dc7e7e7b30 drained</font><br>
        <font size="-1">0:00:18.828284575 12679 0x7fc7f004f320
          WARN              decodebin3
          gstdecodebin3.c:767:parsebin_drained_cb:<decodebin3-0>
          All inputs drained. Posting about-to-finish</font><br>
        <font size="-1">0:00:18.828419889 12679 0x7fc7f004f320
          FIXME             decodebin3
gstdecodebin3-parse.c:137:check_all_streams_for_eos:<parsebin0:src_0>
          Remove input stream</font><br>
        <font size="-1">0:00:18.828440969 12679 0x7fc7f004f320
          FIXME             decodebin3
gstdecodebin3-parse.c:137:check_all_streams_for_eos:<parsebin0:src_1>
          Remove input stream</font><br>
        <font size="-1">0:00:19.055344748 12679 0x7fc7f400c1e0
          FIXME             decodebin3
          gstdecodebin3.c:1835:multiqueue_src_probe:<multiqueue0:src_1>
          EOS on multiqueue source pad. input:0x7fc7f4038780</font><br>
        <font size="-1">0:00:19.187882020 12679 0x7fc7f400c000
          FIXME             decodebin3
          gstdecodebin3.c:1835:multiqueue_src_probe:<multiqueue0:src_0>
          EOS on multiqueue source pad. input:0x7fc7f40333d0</font><br>
        <font size="-1">0:00:19.187926164 12679 0x7fc7f400c1e0
          FIXME             decodebin3
          gstdecodebin3.c:1835:multiqueue_src_probe:<multiqueue0:src_1>
          EOS on multiqueue source pad. input:0x7fc7f4038780</font><br>
        <font size="-1">0:00:19.187972682 12679 0x7fc7f400c1e0
          WARN                   libav
          gstavauddec.c:630:gst_ffmpegauddec_drain:<avdec_aac0>
          send packet failed, could not drain decoder</font><br>
        <font size="-1">0:00:20.171922226 12679 0x7fc7f4049590
          WARN                   pulse
pulsesink.c:702:gst_pulsering_stream_underflow_cb:<audio_sink-actual-sink-pulse>
          Got underflow</font><br>
      </p>
      <p>Is it not possible to switch the uri in uridecodebin3?</p>
      <br>
    </blockquote>
    <p>I can answer my self now: first I have to change the state from
      uridecodebin3 to READY, and then I can change the uri. <br>
    </p>
    <p>For me this feels strange that I have to set the state from the
      whole bin to READY, that means for a moment the element stops
      playing?! Does this not end up in very little breaks, every time
      my script change the uri?</p>
    <p><br>
    </p>
    <p>  <br>
    </p>
  </body>
</html>