GNOME Bugzilla – Bug 524041
gstfdsrc broken in 0.10.18
Last modified: 2008-03-24 17:42:29 UTC
When playing a video from the totem mozilla plugin, I get these errors. The video doesn't play. Reverting the gstfdsrc.c/h files to the ones from 0.10.17 "fixes" this problem: 0:00:00.751801005 21731 0x745770 WARN fdsrc gstfdsrc.c:388:gst_fd_src_create:<source> error: select on file descriptor: Resource temporarily unavailable. 0:00:00.751840272 21731 0x745770 INFO GST_ERROR_SYSTEM gstelement.c:1674:gst_element_message_full:<source> posting message: Could not read from resource. 0:00:00.751882410 21731 0x745770 INFO GST_ERROR_SYSTEM gstelement.c:1697:gst_element_message_full:<source> posted error message: Could not read from resource. 0:00:00.751898474 21731 0x745770 INFO basesrc gstbasesrc.c:2021:gst_base_src_loop:<source> pausing after gst_base_src_get_range() = error 0:00:00.751917652 21731 0x745770 WARN basesrc gstbasesrc.c:2165:gst_base_src_loop:<source> error: Internal data flow error. 0:00:00.751924978 21731 0x745770 WARN basesrc gstbasesrc.c:2165:gst_base_src_loop:<source> error: streaming task paused, reason error (-5) 0:00:00.751941150 21731 0x745770 INFO GST_ERROR_SYSTEM gstelement.c:1674:gst_element_message_full:<source> posting message: Internal data flow error. 0:00:00.751958647 21731 0x745770 INFO GST_ERROR_SYSTEM gstelement.c:1697:gst_element_message_full:<source> posted error message: Internal data flow error. 0:00:00.751985016 21731 0x745770 INFO typefind gsttypefindelement.c:474:gst_type_find_element_handle_event:<typefind> Got EOS and no type found yet 0:00:00.751998857 21731 0x745770 WARN typefind gsttypefindelement.c:494:gst_type_find_element_handle_event:<typefind> error: Stream contains no data. 0:00:00.752006824 21731 0x745770 WARN typefind gsttypefindelement.c:494:gst_type_find_element_handle_event:<typefind> error: Can't typefind empty stream 0:00:00.752021526 21731 0x745770 INFO GST_ERROR_SYSTEM gstelement.c:1674:gst_element_message_full:<typefind> posting message: Stream contains no data. ** Message: OpenStream reply 0:00:00.768181508 21731 0x745770 INFO GST_ERROR_SYSTEM gstelement.c:1697:gst_element_message_full:<typefind> posted error message: Stream contains no data. 0:00:00.768221804 21731 0x745770 INFO GST_PADS gstpad.c:2933:gst_pad_event_default_dispatch:<typefind:sink> Sending event 0x902b40 (eos) to all internally linked pads 0:00:00.756525540 21731 0x6360b0 ERROR totem bacon-video-widget-gst-0.10.c:324:bvw_error_msg: message = Could not read from resource. 0:00:00.768324946 21731 0x6360b0 ERROR totem bacon-video-widget-gst-0.10.c:326:bvw_error_msg: domain = 1712 (gst-resource-error-quark) 0:00:00.768360859 21731 0x6360b0 ERROR totem bacon-video-widget-gst-0.10.c:327:bvw_error_msg: code = 9 0:00:00.768392351 21731 0x6360b0 ERROR totem bacon-video-widget-gst-0.10.c:328:bvw_error_msg: debug = gstfdsrc.c(388): gst_fd_src_create (): /play/source: select on file descriptor: Resource temporarily unavailable. 0:00:00.768424653 21731 0x6360b0 ERROR totem bacon-video-widget-gst-0.10.c:329:bvw_error_msg: source = <source> 0:00:00.768465774 21731 0x6360b0 ERROR totem bacon-video-widget-gst-0.10.c:330:bvw_error_msg: uri = fd://0 ** Message: Error: Could not read from resource. gstfdsrc.c(388): gst_fd_src_create (): /play/source: select on file descriptor: Resource temporarily unavailable. TotemEmbedded-Message: Viewer state: STOPPED TotemEmbedded-Message: totem_embedded_set_error: 'Could not read from resource.'
Can you check if this fixes it? * plugins/elements/gstfdsink.c: (gst_fd_sink_render): * plugins/elements/gstfdsrc.c: (gst_fd_src_create): Also retry our poll_wait when we get EAGAIN. Fixes #524041.
Works fine with this fix.