[gstreamer-bugs] [Bug 607739] New: [queue2] Temporary file is removed although code claims the opposite

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 22 01:28:24 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=607739
  GStreamer | gstreamer (core) | git

           Summary: [queue2] Temporary file is removed although code
                    claims the opposite
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


The queue2 temporary file is removed by queue2 although the code claims the
opposite for a good reason:

static void
gst_queue2_close_temp_location_file (GstQueue2 * queue)
{
  /* nothing to do */
  if (queue->temp_file == NULL)
    return;

  GST_DEBUG_OBJECT (queue, "closing temp file");

  /* we don't remove the file so that the application can use it as a cache
   * later on */
  fflush (queue->temp_file);
  fclose (queue->temp_file);
  remove (queue->temp_location);
  queue->temp_file = NULL;
}

The remove() call should probably be removed or at least be made optional by
adding a new property, because applications probably really want to use the
temporary file later.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list