[Helix-client-dev] CR: Bug 10499: progress bar end time incorrect after selecting new file.
Chris Young <[email protected]> Wed, 14 Jul 2010 09:47:32 -0700
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <[email protected]> |
Subject: CR: Bug 10499: progress bar end time incorrect after selecting new file. Modified by: [email protected] Date: 07:12:10 Project: Bug Number:10449 Bug URL: https://bugs.helixcommunity.org/show_bug.cgi?id=10499 Synopsis: replace m_pIHXClientRecordService->GetSeekRange with GetSeekRange Overview: After selecting a new local file for playback after a remote file has finished downloading, the progress bar end time doesn't change. GetSeekRange calls m_pIHXClientRecordService->GetSeekRange if the file is remote and uses GetLength if it is local. m_pIHXClientRecordService->GetSeekRange still points to the previous remote Files Modified: player/hxclientkit/src/CHXClientPlayer.cpp Platforms and Profiles Build Verified: SYSTEM_ID=linux-2.2-libc6-gcc32-i586 HELIX_BRANCH=realplay_gtk_atlas_restricted_gold_1.2 PROFILE_ID=helix-client-moblin TARGET=mediasinkplayer Branch: hxclient_3_4_10_atlas Copyright assignment: I am a RealNetworks employee or contractor QA Instructions: -- Chris Young [email protected] _______________________________________________ Helix-client-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev
patch
(text/plain, 726 B)
RCS file: /cvsroot/filesystem/local/full/smplfsys.cpp,v
retrieving revision 1.46.2.2.12.1
diff -p -u -w -r1.46.2.2.12.1 smplfsys.cpp
--- filesystem/local/full/smplfsys.cpp 7 May 2010 05:55:21 -0000 1.46.2.2.12.1
+++ filesystem/local/full/smplfsys.cpp 6 Jul 2010 15:44:18 -0000
@@ -3344,16 +3344,18 @@ CSimpleFileObject::GetFullPathname(const
{
lLevel++;
}
-
+ /*
+ * decrement directory level if we have ../
+ */
if ((pTemp != pPath) &&
(*pTemp == '.') &&
(*(pTemp - 1) == '.'))
{
- lLevel--;
if (((*(pTemp + 1)) == OS_SEPARATOR_CHAR) ||
((*(pTemp + 1)) == '/'))
{
+ lLevel--;
pTemp++;
}
if (lLevel < 0)