On Tue, Jul 14, 2009 at 09:42:41AM +0800, Wang Yan wrote:
> I found that if I add the following patch to hornsey it could start to
> play the real audio.
>
> diff -ur hornsey-1.0~20090703.org/src/hrn-queue.c
> hornsey-1.0~20090703/src/hrn-queue.c
> --- hornsey-1.0~20090703.org/src/hrn-queue.c
> +++ hornsey-1.0~20090703/src/hrn-queue.c
> @@ -1642,6 +1642,13 @@
> {
> mimetype = "video/foo";
> }
> + else if (g_str_has_suffix (uri, "rm")||
> + g_str_has_suffix (uri, "RM")||
> + g_str_has_suffix (uri, "rmvb")||
> + g_str_has_suffix (uri, "RMVB"))
> + {
> + mimetype = "audio/x-pn-realaudio";
> + }
> }
>
> g_print ("%s %s----------\n", g_file_get_uri (file), mimetype);
>
> So, any suggestions? Any help will be appreciated.
The code path you are patching is a fallback code path when the media
meta data indexer (bickley) does not have the file in it's database. A
suggested approach for testing this is rather to add the needed codecs,
remove the ~/.kozo database, add the media to an XDG directory (the
videos directory or similar), and then try to play it either by browsing
to it in hornsey or from the file manager.
/Øyvind K. Intel Open Source Technology Center | http://oss.intel.com
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists